Hello dear,
It would be better if you could mention the site of your , if it's right side upper abdomen. Or lower abdomen. Gastric pain could be because of your eating and lifestyle problems which can be corrected with medications. Consult a general surgeon & try to get an ultrasound done to look for any cause for your pain. If everything is normal then mostly that could be gastric or acidity related pain. Also the Medications you have been taking for
diabetes, Xmet also is know to cause gastric issues. Consult your physician for the dose modifications if required.
Please feel free to consult with your questions or any doubts.