Personally, I would compost it before using it again. If I recall correctly, the smell is from anerobic bacteria, which are bacteria that grow in the absence of oxygen.
If you want to, you can sterilize the soil in your home oven, but be advised that it will stink up your house terribly. I've sterilized soil this way, but I wouldn't recommend it, unless you can have all the windows and doors of your house open for airing the place out.
Sterile soil is essentially dead soil. After it has been covered with foil and heated for a couple of hours, then allowed to cool completely, it should be mixed with fresh potting soil or compost, to replenish the good bacteria and microbes.
It's much simpler just to toss the used soil on your compost pile, if you have one.
"Isn't it enough to see that a garden is beautiful without having to believe that there are fairies at the bottom of it too?" - Douglas Adams