Hi
Welcome to the MedHelp forum!
Headaches and pain in temple area can be due migraine. Tension headaches due to stress too affect the temple area.
Temporal arteritis, internal ear infection, TMJ and tooth decay can all cause a temple pain.
Infection in the eye, glaucoma, near and far sightedness and sinusitis are the other causes.
Since I cannot examine you and know other related conditions you may be having, nor is a detailed history possible on net, I have listed the various possibilities that should be looked into. Please consult your PCP for primary examination followed by proper referral. Take care!
A headache out of the ordinary like this - go see your PCP.