Gastroesophageal reflux disease GERD is a condition in which gastric contents and acid flow up from the stomach into the esophagus "food pipe" . Follow the dosage instructions, as your medicine may not work if you only take it when you have symptoms. Vegetables based Prevent heartburn naturally foods like pickles, kimchi, and Sauerkraut. showed. If the heartburn then is diminished to a large extent, the diagnosis of GERD is considered confirmed. But if you keep getting it after pregnancy, your doc may order additional testing, including an upper endoscopy, a test thats used to look at the inside of the upper digestive tract. More on natural treatments in a little while. Drink a glass of lemon water or prepare lemonade with real lemons. This muscle is in charge of closing your esophagus after food passes to the stomach.