Thanks for writing your query.
After reading your post, it seems that your symptoms can be due to gastritis
But a clinical examination and some investigations are needed.
Following investigations may be helpful :-
1. Liver Function Test ( LFT ).
2. Serum amylase and lipase.
You can take an antacid
40mg once a day before meals for relief.
Following precautions may be helpful :-
1.Avoid spicy and oily foods.
2.Avoid being empty stomach for long periods.
3.Avoid smoking and alcohol, if any.
4.Drink lots of water daily.
5.Eat light meals prepared under hygienic conditions.
I hope this is helpful to you.