Hi,
Thanks for your question on Lybrate
I do understand your concern “As” per your clinical history is concerned first rule out dyspepsia and to confirm the cause responsible for it you need one endoscopy and test your stool. Regarding medication you can take [pantoprazole-20 mg] once a day.
Do take few preventive steps like this-:
1) Eat small meals and chew thoroughly
2) Avoid fatty foods, spicy foods, processed foods, carbonated beverages, caffeine etc
3) Try to maintain a healthy weight 4) Practice yoga and meditation to manage stress
5) Do not take any painkillers
Hope that helps,
Please do tests as suggested and follow me to add further.