the best way to avoid food poisoning is to:

follow food safety rules
only wash surfaces after preparing food
cook everything
only eat fruit and veggies

following food safety rules is the best way to avoid food poisoning. This includes washing hands before preparing or eating food, keeping raw and cooked foods separate, cooking foods to the proper temperature, and refrigerating leftovers promptly. Washing surfaces after preparing food is also important to prevent cross-contamination. Eating a variety of foods, including fruits and vegetables, is important for a balanced diet, but it is not a foolproof way to prevent food poisoning. Cooking everything can help kill any harmful bacteria, but proper food handling and preparation practices are key to avoiding food poisoning.