If gastroenteritis is caused by bacterial infection, quinolones (levofloxacin tablets, etc.) and cephalosporins (cephalosporin benzyl tablets, etc.) anti-inflammatory drugs can be given; anti-inflammatory drugs are not needed if it is caused by parasitic infection or viral infection. 1. Bacterial infections: (1) Quinolones: if it is clear that gastroenteritis is caused by bacterial infection, quinolone anti-inflammatory drugs, such as levofloxacin, norfloxacin, etc., can be given. (2) Cephalosporins: anti-inflammatory drugs such as cefadroxil tablets and cefaclor. 2. Parasitic infection: Gastroenteritis caused by parasitic infection does not need to take anti-inflammatory drugs, and can be given anthelmintic drugs such as albendazole. 3. Viral infections: mainly symptomatic treatment, no need to use anti-inflammatory drugs, can give montelukast to stop diarrhea treatment. The above medicines should be used under the guidance of professional physicians. When gastroenteritis occurs, it is recommended to consult a doctor in a timely manner, and follow the doctor’s instructions to use medication, do not take medication on their own.