Primary headaches include migraine, tension-type,
and cluster headaches.Going by your symptom of
sensitivity to light,migraine is an important possibility.
Apply alternate warm and cold compresses,elevate the head while sleeping and take some over the counter NSAID analgesic(pain reliever) like ibuprofen(advil/motrin) or acetaminophen.Application of muscle relaxant to the part is also helpful.
If the symptoms persist,then pls consult a physician.
Hope it helps.