For how long you are having stomach pain
this may be because of acidity
/ gas you can take(if no drug allergy
40 mg before food once a day for 2-3 days.
And follow care advises given below.
Avoid food from outside, junk, fried, spicy fatty food take home made light food like moong dal, Dalia, chapatti
also tell me associated symptoms like vomiting
sensation, loose motion/ burning sensation in chest or any other symptoms are present or not? so that we can reach diagnosis.
Kindly see a physician for further management