Always leave the washing machine door and the soap drawer open to allow moisture to escape and avoid mold growth
Use less soap than you might think. A table spoon worth of soap, whether powder or liquid is sufficient for a full wash