First of all, I need to confirm with you if it is a very strong light? Because staring at strong light surely causes uncomfortable feelings. If it is not, you just feel hurt when you see any light, then I assume that it might be photophobia which is bothering you. Photophobia is not an eye disease but a common symptom of various eye diseases or conditions, for example conjunctivitis, uveitis, cataracts, corneal abrasion and glaucoma etc. It is hard to tell what your problem is. I suggest you to visit an eye specialist for detailed examination. Correct diagnosis will lead to optimal treatment.