Most advice I've had says to soak it in freshwater for 15 minutes. That seems to kill most flat worms, bristle worms, and makes the crabs and shrimp jump out the holes.
That will not get rid of aiptasia or bubble algae. They have to be scrubbed off with a clean brush.