there are many causes for this.
it might be low pressure headache related to low water intake.
it might be one sided with photophobia
( light irritation) resembling migraine
it may be rebound headache because of the viscous cycle created by pain-medicine-pain.
it can be stress
it can be due to eye problems
it can be a cervicogenic headache
due to neck problems
may be because sinus