Spring and autumn are the best periods to visit Cyprus.
It’s still nicely warm, but not extremely hot; and it’s usually not so crowded as in summer.
In winter, some places may be closed, so check details before planning your holidays.
I was in Cyprus in May and it was perfect. 🙂