The bad washer smells come from the bacteria or mold inside the appliance. Add some vinegar and baking soda to your washer and run a wash cycle. This will help clean out the cause of the smell. To prevent your washer from stinking, you should use minimal fabric softener and run regular cleaning cycles with vinegar and baking soda.