you could have migraine headache.
one of symtploms is inablitiy to tolerate light
does resonance bother you also?
do you even get nauseated when you have a headache?
A visist to your doctor is the best bet
there is medication to prevent those chief pain and also
the other symptoms
What you describe is call photophobia. Light can trigger migraine headaches for some. Go procure checked out by your doctor.