The washing should be cold at the end as the machine rinses in cold water.
The washing may be smelly because its not rinsing properly.
It may just need an unblock and service. Click on repairs@ to find a local repairer.
It’s possible that you have a Faulty heater or Thermal cutout, it’s also possible that you could have a Wiring or PCB fault.
If you have a Multimeter / Megger & know how to use them then you may be able to trace the fault yourself, if not then as Tim said you need to call a good local engineer.
If tracing the fault yourself please remember: POWER OFF & PLUG OUT, getting :zap: will seriously ruin your day.