Thanks for query,
You have gastro-Oesophageal reflux.
In this the content of stomach with gas travel in retrograde direction & causes irritation to nasopharynx
.We have also opening of middle ear to our throat behind tonsil
in the form of eustachion tube so you feel irritation in ears also.
If you have this problem once in a while you should do following.
Don't eat too much at a time.
Take frequent small meals.
Take a walk after yor lunch or dinner.
Don't sleep just after taking food for at least 2 hours.
Avoid spicy sour food.
Elevate head end of your bed to prevent retrograde travel.
If you frequently get this you should consult your doctor to rule out Hiatus hernia