Salt won't work. We need some more info on the shapes of the worms, straight, or curly? Length, color, ect.? Are they new, or did you add something new to the tank?
They could be trematodes, parasitic polychaetes, leeches, or a number of other things. More info will help us help you. Can you post a pic?