Bad siphon out as many as possible for a couple days. Salifert makes a flat worm remover (google it helps explain what to do)says it works great. They will eat your corals and release a toxin when they die. Siphon out as many as you can. Always dip your corals.