Welcome to Healthcare-Magic
Greetings of the day
Its likely that pain is due to Gastritis/gastric ulceration.
It requires Upper gastrointestinal Endoscopy
for further assesment,
In case you need any further assistance, will be glad to assist you.
Wishing you happy and healthy life
Dr Deepak K K