I had heartburn all throught my first trimester went to the doctors and they prescribe gaviscon (was the best thing i ever did). However if your not wanting to take it then stay away from citrus fruits, sour food or any sweets you may eat. Stick to a plain diet eating little and often. Good luck you may find it passes.
Drink a glass of cold milk, it works for me :)