you seem to have symptoms of gastritis
first of all you need to make a note about the pattern of the pain.
like if you get before food or after food, or increases after spicy food, if it increases when your in stress
, all this will us to know the root cause of your gastritis.
for treatment you need to change certain habits .
sleep and wake up at same time every day .
sleep within one hr after having dinner at night.
no spicy food at al, reduce meat intake eat more vegetables,fruits drink 3-4 liters of water everyday
eat yoghurt /curd daily . during pain take antacids when you take antacid do not take milk and milk products.
follow these instructions. it takes around 2-3 weeks for gastritis pain to reduce. if the is too much you must visit hospital to get ecg and endoscopy