Freezing won't sterilize it, but will help to keep any bugs down for a while. The best way it to bake it or boil it. As for how long to freeze it, I froze my coconut coir once and left it in over night. Again, though, I then found that baking it worked better.