siphon as many as possible and then use flatworm exit
or there's a fish that eats them i saw at barrier aquatics, i forget what it's called but i believe it's a wrasse of some sort, they had major flatworms and the fish cleaned the tank out real quick