Vomiting and diarrhea after eating bad food may be caused by acute gastroenteritis or food poisoning. It is recommended to pay attention to dietary modification, supplemental water, and give appropriate medication for treatment, which can help improve the symptoms. 1. Acute gastroenteritis: usual inattention to diet, intake of stimulation, greasy, spoiled food, resulting in acute inflammation of the mucosa of the gastrointestinal tract, may cause vomiting and diarrhea. It is recommended to rest, pay attention to warmth, increase hydration; oral rehydration salts or rehydration solution to prevent dehydration and electrolyte disorders; montelukast can be given to alleviate diarrhea; antimicrobial drugs such as norfloxacin can be used. 2. Food poisoning: Eating toxic or contaminated by bacteria, toxins, food, resulting in acute infection of toxic diseases, causing nausea and vomiting, abdominal pain and diarrhea. The course of food poisoning is generally relatively short, it is recommended to give appropriate drug treatment, such as dehydration, electrolyte disorders, the need to replenish the body’s water, electrolytes; vomiting and diarrhea is obvious, you can take oral probenecid, subcutaneous injections of atropine, scopolamine; with respiratory distress, can be given to the oxygen; the seriousness of the condition, the need for assisted ventilation. Patients who have vomiting and diarrhea caused by eating bad food are advised to consult the gastroenterology department and emergency department of the hospital in a timely manner, so as to clarify the cause and give treatment under the guidance of the doctor.