It is possible for heartburn to cause headaches, especially if the condition is not treated promptly. Factors that may increase your risk of heartburn-related headaches include eating certain foods or beverages, smoking, drinking alcohol, and being overweight. In order to prevent heartburn-related headaches from occurring, it is important to make lifestyle changes such as eating a healthy diet, exercising regularly, and limiting your alcohol and tobacco intake. You should also consult with your doctor to discuss any medications or treatments that may help reduce heartburn symptoms.