Most tourists visit Turkey between April and November, as in winter it can get cold and rainy.
However, some visitors prefer cooler weather, so you can see many groups visiting main sites in December and January.
Summer is very hot in some areas, so maybe you should avoid Mediterranean and Aegean part in July and August, unless you are planning to enjoy nice sea and beaches in these regions.