To keep your washing machine smelling fresh and running smoothly, run a hot maintenance wash (90°C) empty once a month with a specialized cleaner or white vinegar. After every wash, leave the door slightly ajar to let the drum dry out and prevent mold growth on the rubber door seal. Regularly wipe down the door seal with a damp cloth to remove detergent residue and lint. Also, occasionally remove the detergent drawer and clean it thoroughly under warm water.
Related guide: Washing Machine Has A Bad Smell