Hi,Welcome to Health care magic forum.
You had hypertension at the age of 18 years, means that it is
essential hypertension,it is to be screened every year, and decide the drugs, accordingly.
The cause of the head ache is the hypertension, unless the hypertension is under control. the head ache will be there,will little relief with pain killers.
On long run also it important to keep the B.P. under control, to avoid the complications.
I advise you to consult a physician for diagnosis and treatment of hypertension, with appropriate drugs. There are several drugs, among which your doctor will decide the one which suits you and titrate it for dose.
Wishing for a quick and complete recovery. Thank you.