|If your washer Drains and Fills at the same time
This happens on new installations usually. The drain hose must be higher than the highest fill height of the washer. If the drain hose is to low it will create a siphon effect and drain the machine. Next is the drain hose is to tight in the standpipe. The standpipe is your homes plumbing. If the drain hose does not have an air gap aroung it, it can cause a siphon effect and start draining your machine as it fills. If none of these are the problem and your drain pump is running at the same time it is filling you will need to replace the control. For top load machines follow this video and for front load machines follow the tutorial.