Cooking foods well and avoiding foods that have been left outside for a long time is also important.