Pet hair is not just a problem for your clothing, it can also wreak havoc on your washing machine.

Plenty of pet owners count on their appliance to wash pet hair off their stuff. But according to the experts at Consumer Reports, that might not be the smartest way to handle it. You could be fixing one problem but creating a whole host of others.

When things get hairy, it might be tempting to toss everything right into the washing machine. But that’s one of the worst things you can do.

“When you mix water and pet hair, it clumps. It can get caught in those little drain holes inside of your washer drum or even clog your drain pumps. And that could put a lot of stress on your plumbing,” said Hinaya Rae, Consumer Reports home editor.

Instead, deal with pet hair before you put your laundry in the washer.

The first step is simple: Brush your pet every day to keep loose hair to a minimum. A lint roller can be another quick fix—or even some masking tape—to pick up hair in a snap.

In spots where pet hair becomes embedded in fabric, wear a damp rubber glove to sweep hair together so it lifts off easily.

“Another thing you can do is toss items in a dryer along with a dryer sheet. If you leave the appliance on a no-heat setting for about 10 minutes, the dryer sheet will work to loosen hair from the clothes and the hair will get caught in the dryer’s lint trap,” suggested Rae.

It’s also a good idea to run an empty wash cycle once in a while and wipe down any hair left on the inside of the drum. Or let the machine dry and then vacuum inside with a soft attachment.