Be certain to use a good quality washing-machine cleaner once a month to clean out your washer.
Make sure to leave the lid or door to the washing machine open after every load as this will allow the moisture inside the drum of the washing machine to evaporate.
If you notice any kind of spill inside your washer, just wipe it away with a damp soft cloth right away. This is required to avoid the spill from spreading more and affecting the functioning of the machine.
Keep any liquids away from the control panel as things like liquid detergents or stain removers can harm the finish of the washing machine.
Always remember to wipe down the inside drum of the machine periodically with a damp cloth. Also, make sure to wipe down the outside of your washing machine with a damp cloth once a week.