Light sensitivity may be caused by migraine. You can take some caffeine to make you feel better. Then go to see a doctor who can
prescribe medications which are used to treat migraines. If it is not caused by migraine, the doctor will also check your eyes to see what cause your light sensitivity and find the treatments for it.
It sounds like migraine. You can go to any local pharmacy to get some medicine to take. You must drink a lot of water. Since your eyes are sensitive to light now, you should avoid the light as much as possible.