I have a small cyst-like object just above my temple about 0.2 CM in diapreviously as been painless for 10 years, but is now hurting?

Infected cyst. It could be infected now that is why it is hurting. Examination is needed to completely rule out other possibility. I would suggest you to bring that up to your md so that it can be examined and if treatment is needed, your md can provide it to you.