It seems from the history that you are having chronic migraine
. The symptoms like sensitivity to light, pain in the eyes is usually seen in case of prodromal symptom of migraine.
The treatment in the acute phase is by use of anti-inflammatory and analgesic
drugs or by use of ergot alkaloids in severe cases. The prophylactic treatment is by use of drugs like flunarizine
or beta blockers like propranolol