acute gastric problem

I have do lots of exercise, jogging and take proper medicine but I have a acute gastric problem wat can I do.