If they do become a problem, flatworm exit works great. You just have to be careful and follow their directions exactly.
Also, Melev has some great info on them:
http://www.melevsreef.com/flatworms.html">http://www.melevsreef.com/flatworms.html</a>
-Andy