A number of things can lead to heartburn. Common reasons behind this digestive symptom include: Conditions such as GERD or a hiatal hernia Pregnancy Certain medications Eating too much Consuming caffeine or alcohol Eating spicy, acidic, or fatty foods Lying down soon after eating Using tobacco products