washer not advancing

when i try to use my washer, the timer dosent advance, so it ends up overflowing. i replaced the timer on the washer and am still having the same problem. what should i do?