If I'm motivated and have the time, I hand scrub the pots. If I'm busy or just not motivated, I'll put them in the dishwasher. This is to dislodge as much dirt, much, algae, detritus, and whatever else from the pots.
Then I soak them at least over night in a bucket with lots of bleach. Probably around 1 - 2 cups per 5 gallons of water (sorry for the non-metric units of measure). I make sure that everything is completely covered. Since plastic tends to float, I'll stack a clay pot or saucer on top just to keep the pots fully submerged. I also try to jiggle and shuffle things around a few times to make sure that all the air pockets are emptied out.
Then after a day or two, sometimes more, I rinse a couple of times. After that, I do another soak, but this time I use dechlorinator (Prime) at several times the amount recommended for treating tap water. One more rinse, and then I set them out to dry.