welcome to hcm
thanks for the query
it appears to be gastritis
a detail history and examination is needed
what is the type of pain?
is it continuous or intermittent?
any aggravating and relieving factor?is there any associated symptoms like vomiting
if it is due to gastritis then it will subside by taking some antacids and avoiding spicy foods
also you need some blood tests and abdominal ultrasound
if it is not subsided by antacids.take good amount of water