Hi.Most probably you are suffering from
Gastritis,which will be relieved by
Proton pump inhibitors.Headache may be due to
high blood pressure.If still you are having headache,you have to change the Anti hypertensive drug.Consult your physician.All the best.