If your washing machine overflows, the first thing you should do is turn off the water supply. Next, use towels or a mop to absorb any excess water on the floor. After the water has been mopped up, disconnect the appliance and ask for help from a professional. Once you've unplugged it, they will be able to diagnose and repair the device accurately.