Certain foods (spicy, fatty, acidic), beverages, smoking, stress, and obesity can trigger heartburn.