When water ends up in your sink during a washing cycle, it usually signifies a blockage further along the line. In this case It's not advisable to use over the counter unblocking remedies. A Plumber can attend and use equipment to deal with the situation and if necessary use effective chemicals to deal with the problem.