It seems from the history that you are having headache associated with eye pain.
The common causes to be considered are refractive errors, ENT causes like sinusitis
and primary headaches
. If you have vision problems then it indicate refractive error and requires treatment by refraction
If you have recurrent cold and cough then it indicate ENT problems.
If you have headache associated with nausea and vomiting then it indicates primary headaches like migraine.
Hence I advice you to consult your doctor for examination and treatment accordingly.