Although I am not a wise man, I will answer your question.
Do you have a box of baking soda? If not, get one, cause baking soda is the best cure for heartburn. Put about a teaspoonful (heaping) in a glass, add some water (I dunno how much, enough to drink in a few swallows but not so much that it takes forever to drink). In a few moments you will have one big hella burp, and your heartburn will be gone. Baking soda neutralizes acid. If you use too much baking soda at once, it will cause some pain as the gasses expand in your stomach, so don't be retarded.
Fun fact: Your kidneys make sodium bicarbonate to neutralize the acid in your blood.