The treatment of allergic enteritis is mainly based on medication, and attention should be paid to dietary regimen and psychotherapy, as follows: a. Medication, commonly used drugs are gastrointestinal antispasmodics and antidiarrheal drugs, gastrointestinal spasm drugs are anticholinergic drugs, nifedipine, pivetonium bromide, which can relieve pain in the abdomen, antidiarrheal drugs are loperamide, compound difenoxil, etc. You can also use laxatives, antidepressants, sedatives, intestinal flora regulators and gastrointestinal dynamics bidirectional regulators according to specific symptoms. Second, dietary treatment, diet should be based on light, easy-to-digest food, do not eat stimulating food, constipated patients should eat more fresh vegetables and fruits, can promote gastrointestinal digestion, diarrhea patients should eat high protein, low-fat food. Third, psychiatric treatment, psychotherapy and hypnosis by a professional physician. Fourth, patients should also pay attention to exercise, regulate their mood through exercise, and keep their mood relaxed.