You might be suffering from cluster headache or perhaps some other hidden condition, you need detailed work up with MRI, EEG and other tests as needed.
Next Steps
Visit a neurologist
Health Tips
There are few danger signs u need to be alert about:
Any moment you realise headache has worsened out of the ordinary,
you developed continuous vomiting and nausea
Blurring of vision, giddiness
Seizures/fits
I'm any of the above symptoms, u need to rush to a neurologist.