flatworms are ambush predators. they eat pods. if there is an advanced creature competing with them for food, they will slowly die off. a wrasse or mandarin are both excellent choices, depending on the size tank you have.
if you leave them be, they will over populate. then their food source will diminish, and so with they. i don't know how long this takes.