Eating bad food. Food poisoning can come from eating food contaminated with bacteria usually. The most likely culprits are foods that have set out too long. Be especially careful with foods that contain mayonnaise on a buffet or family picnic that have set out awhile. Always remember to wash your fresh foods before you eat them. This will lessen the chance that you will contract a food borne illness.