It sounds like you have acute gastritis -Normally takes about a week for resolving ,with medication.
You can use pantoprazol 40 mg/ domperidone 30 mg combination ,daily once for atleast 7 days .If you feel pain you can add mebevervine 200 mg twice daily.
Next Steps
If you have any frequent gastric issues get tested for H pylori antigen , either with stool analysis or breath test
Health Tips
For a few days bland, light, soft foods
avoid caffeine and spicy foods and alcohol.
Don't skip your meals