Hi,
Welcome to HCM
I read your query carefully.
According to details it seems to be a gastric issue which accelerate your headache.
If i will be your treating Doctor I will prescribe you following!
1- Do not drink too much water with meals.
2- Drink at least 8-10 glasses of water per day.
3- Do not eat too much at a time, take regular small meals.
4- Avoid spicy, fried, and fast food.
5- Quit
smoking and do not take caffiene,alcohol or chocolates.
6- Take your dinner atleast 2 hours before bed time.
7- Keep your head end elevated atleast 6 inches than foot end,while sleeping.
8- Take
antacid after every meal.
9- Take Omeprazole or
esomeprazole 40mg 1 hour before meal once a day for 1 week.
10- Go for walk regularly.
11- Take healthy balanced diet.
12- Do not take too much painkillers it will effect your stomach,in case of headache you can take
Naproxen 500mg twice a day after meal.
Hope so it will be helpful.
You can write again in case of any query or follow up.
Wish you Good Health.
Regards