Hi,
Welcome to Healthcaremagic.com.
I had gone through your question I can understand your concern about your
stomach upset.
You need to have certain life style changes done and also continue your medication.
Avoid spicy, oily, junk foods, aerated drinks,
Avoid late night drink and foods, late night
smoking, you must not anything including water before two hours to sleep.
Raise your bed side at least four inches by using blocks under bed.
Take your medication like
pantoprazole 40 mg empty stomach early in morning and don't eat anything for half an hour after taking your medication.
Hope my answer will be helpful to you and visit us back if you have any further assistance needed.
Regards
Dr Muzaffer Hussain Parray.