Thanks for writing your query.
After reading your post, it seems that your symptoms are due to gastritis.
You can take an antacid like Omeprazole
40mg once a day before meals along with Domperidone
can be taken for severe pain
If loose motions are present, antibiotic and antiamoebic will be helpful. Digestive enzyme
preparation containing pepsin and fungal diastase after meals will help in the process of digestion.
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.
4.Avoid smoking and alcohol, if any.
5.Avoid self medications, especially pain killers and steroids.
7.Drink lots of water daily.
I hope this is helpful to you.