Heart burn is a symptom of acidity in your stomach leading to reflux of acid/gas into your foodpipe. The reasons for the acidity could be smoking
, alcohol, spicy food, etc. Lack of exercise and being overweight
also could lead to heartburn
. The underlying cause should be remedied for permanent cure. All bland food including fruits could be taken. Go to bed at least after 2 hours of having had dinner. Adding an extra pillow might help. Medicines can be prescribed by your doctor which could provide you dramatic relief.