Hi
You answered yourself gastric tablets helped you but not now. Might be using over the counter drugs. You are young and mostly can be managed with proper dietary advise and medications. Looks like gastritis!
Next Steps
Consult endoscopist/ surgeon/gastro physician
May need an UGI scopy to rule ulcer
Health Tips
Avoid spicy/fatty diet and maintain dietary timings religiously