I'm going to say you don't want it, as for treatment there is Exit, however it can only control, I wasn't able to get it to be 100% effective, since there are eggs that don't seem to be affected, which would force multiple treatments. What did I do to get rid of flatworms? a dragonette. Just make sure you have an established tank to support the fish afterwards.