Welcoem to health care magic!
after reading your question I found that you have a complain of
headaches and gas which is not responding to antacids like pantoperazole. you have not mentioned any pain killer in your medicines.
Had I been treating you I would give you a course of antibiotics as now it's a long time you have this
gas problem along with some good antacids like Esmoperazole twice a day, half hour before meals. This is very effective in your condition. this will help in cleaning the infection which is causing extra gas production. For the time being you should avoid spicy/ oily and out side food,
cold drinks, and take adequate water. Please stop alcohol if you drink.
You have also complained of head ache but there is no mention of blood pressure reading, I would advice you to get your BP checked by a doctor and get your
liver function test,
lipid profile and an
X Ray neck (to rule out
cervical spondylosis) done.
If your blood pressure comes normal, you will get relief in head ache by taking some pain killer only.
Your problem is quite commonly seen in general hospital settings, and get better easily with correct treatment.
Hope the answer helps you.
Please ask more queries if you have.