It might be something your eating or drinking. Try eating slower. Other options may be Try milk or any anticids containg calcium or magnesium but avoid antacids that contain aluminum because it can cause constipation and be toxic at high doses. Keep your head elevated at night. Try to figure out what triggers heartburn. Also ginger ( ginger ale or ginger candy) If antacid isn't working you might want to consider something stronger, but talk to your doctor before you for that. For instance tagamet or Zantac.
I hope the information is helpful. Good luck!