These foods may promote the relaxation of the flap causing the acid to leak into the esophagus. There a several things other things that contribute to heartburn. Here are some examples. By overeating you, cause too much food to be in the stomach and may promote the reflex of food into the esophagus. Lying down right after a meal.
Gravity can also cause the acid to back up into the esophagus.
If you already have heartburn or have persistent here are some ways to relieve it. Take before a meal to prevent from occurring. It is just aggravating. If you have heartburn more than twice a week, or start an hour or two after eating, consult your doctor. If left untreated GERD can cause erosions in the esophagus.