It seems from the history that you are having pain in the temple with sensitivity of the eyes.
The probable causes for these symptoms include eye problems like inflammations of the eye, refractive errors.., primary headaches
and ENT causes like sinusitis
As of now you can take analgesic
and anti-inflammatory drugs for pain relief and further you need examination by your doctor and treatment accordingly.