There may be many reasons as to why you are experiencing heartburn. What you are eating may be causing the heartburn. Avoid caffeinated beverages and spicy foods. Avoid overeating. Do not lie down after eating for at least 30 minutes to an hour.