If it's rotating with no heat, it could be the heating element, or the overheat trip - assuming the wiring/switch is OK.
The overheat trip may or may not be a resettable type. If it has tripped, usual cause is poor air circulation (fluff) in element.