Yes, if you are using a pre-made potting mix it is important to sterilize the soil before use by heating it in an oven or on the stovetop. This will help kill any potential pests or diseases that may be present in the soil before planting your indoor plants. However, if you are making your own potting mix you do not need to sterilize the soil since you are controlling the ingredients.