While botulism is unique in that it grows in an oxygen-free environment, it is the same as other food-borne pathogens in other respects. Which is to say, proper refrigeration will slow the growth of the bacteria, and cooking will kill it. Note, however, that the botulism toxin (as opposed to the bacteria that produces it) needs to be boiled for at least 20 minutes to destroy it.
An acidic environment will also prevent the growth of C. botulinum. When making stews and thick soups, you should cool the leftovers quickly and then refrigerate right away. And to be extra safe, avoid eating home-canned foods, homemade garlic in oil and that sort of thing.