Certain foods and beverages, such as spicy foods and alcohol can trigger heartburn and GERD. You’re at greater risk for both if you’re obese or pregnant.