If its not heating the clothes for some reason the cycle will not finish correctly. This may be due to a thermostatic fault or heater problem!
If its an older model the air circulation chamber may be clogged with fluff and need cleaning. This would need a technician to sort out as space inside the machine is tight.
The machines drum may not be turning fully indicating its need for a motor servicing.