Hello and thank you for posting your health query on E health Forum.
Based on the history, it seems that you might have developed some gastritis or a peptic ulcer disease.
You can take symptomatic therapy with antacids (tums, mylanta, etc) and acid reducing medications ( Omeprazole ) for 1 -2 weeks and you might get relieved of all your symptoms.
If symptoms not resolved you can consult a gastroenterologist for definitive diagnosis.
Tests will depend on the physical examination findings and include barium studies, endoscopic studies, tests for H Pylori infection, etc.
I hope this helps.