Mohammed,
Alot of times when people experience acid reflux/gerd, or have a hiatal hernia, the gas gets "trapped", this is what causes a bloated feeling, burping, and farting (excuse the expression). Sometimes it can affect our Vagus Nerve, this in turn can causes heart palpitations, which in turn causes anxiety....
It's like a vicious circle, and that's probably what happened to you, seeing as you said when you burped it went away. Like I said, if you feel gassy or bloated, and have burning in your stomach, try some TUMS or some Pepto-Bismol.
The best advice I can give you though, is to make an appointment with your doc and get checked out to see if either one of these could be your problem, because it sounds to me like you have GERD, but you should definately hear it from your doc to be sure.
Hope you are feeling better.
Fox