can you please specify the area where you are getting pain?
is there any relation to food intake?
what is the nature of pain?
all these information needed to give a provisional diagnosis.
if you have gastritis
problem then life style modification and antacids are helpful for it.
have regular frequent small diets. avoid spicy oily foods. have more water and fruits.
do regular excercise.if you still getting the problem consult a nearby physician nad get evaluated.