thanks for your query
Best medicine for you can be decided after ruling out any secondary causes of your hypertension
like Thyroid profile, Kidney functions, ECG, Urine examination, etc and also considering your age.
The details you have given for that I will advise B-blockers like Metoprolol
. There is 0.3-4% chance of getting headache with b-blockers.
You can take Paracetamol
for headache for time being.
I hope this will help