Do not worry
Probably this is looking like gastric ulcer
Stress ,anxiety ,spicy food ,unhealthy lifestyle, overthinking may precipitate it.
Next Steps
Do not search symptoms on internet
Maintain body weight
Get socialize to people if you are overthinking something purchase any book from market and try to right down all your thoughts in that book and through it maintain note of timing of stress and divert that time in other activities
Go for regular exercise
Health Tips
Endoscopy and usg may help if symptoms persist. if found any danger sign / persistence of symptoms consult your doctor