In addition to using a washing machine cleaner, keep those washing machine smells at bay with a few maintenance tips:
Give your washer a wipe down each month with soapy water. Make sure you clean the inside of the drum as well!
Leave the door and the dispenser drawer slightly open when not in use.
Remove your clothes as soon as the cycle has finished. Don’t let them sit in the drum!