I have flatworms

I have never seen them in the display tank but there is hundred of them in my CPR refugium. They seem to stay there... Any idea what to do? They have been living in the fuge for months.
Should I leave them alone or try to get rid of them.