Do not go to the gym on empty stomach.
Have a pre-workout snack at least One And a half hours before gymming. This May consist of a bowl of fruits nuts and milk.
The pain your experiencing is because of gastritis take tablet pan-D 40mg (1-0-1) before food for 7 days
Next Steps
if problem persists consult me online and if u found this helpful plz cast ur vote, take care :)