It seems you have a case of
Acid reflux from your stomach with associated
gastritis. The pain is most probably from the acid which ascends upto your
esophagus. You should stop taking
Ibuprofen immediately as this can worsen the gastritis. You should use anti acid medications such as
Ranitidine, Pantoprasole, Rabeprasole, Omeprasole which can be obtained by prescription of a doctor. You should also do the following things:
1. Sleep with 2 or 3 pillows to keep your head elevated from your stomach
2. Do not lie down immediately after your meals
3. For each meal, do not eat till your stomach is very full. Eat small meals
4. Avoid spicy foods, fatty foods, fried foods, canned food and junk food.
Kindly do the above and consult me again if you are still experiencing problems. Good day and take care.