Thanks for writing your query.
After reading your post, I would like to assure you that your symptoms can be prevented by some precautions and lifestyle changes.
Following precautions will be helpful :-
1.Avoid spicy and oily foods.
2.Avoid being empty stomach for long periods.
3.Avoid mental and emotional stress
and alcohol, if any.
5.Avoid self medications, especially pain killers and steroids
6.Drink lots of water daily.
7.Eat light meals prepared under hygienic conditions.
8.Avoid gas producing foods like peas, cabbage, legumes, etc.
9.Avoid eating fast and talking while eating.
I hope this is helpful to you.