Thanks for posting this question in HCM
The causes of headache are many and it may include brain tumor
, infection, migraine, cluster headache
and so on. Eye problems that can cause headache are refractive errors, local eye infaction, glaucoma
The basic aim of the treating doctor will be to examine you and get the diagnosis so that treatment will be easy.
I request you to get jointly evaluated by a neurologist
and opthalmologist. They will guide you through clinical evaluation and necessary investigations.
Hope this helps