If you have diarrhea when you eat spicy food, it is generally considered to be intestinal dysfunction, which is clinically known as irritable bowel syndrome. The treatment of irritable bowel syndrome is mainly oral trimethoprim, which regulates intestinal function, together with compound Lactobacillus acidophilus to regulate intestinal flora treatment, the treatment of gastrointestinal dysfunction drugs is one aspect. But the usual diet and lifestyle habits are also very important, diet habits include avoiding cold, hard and spicy, stimulating, greasy, fried food, light diet, regular life and rest, pay attention to abdominal warmth, eat less and more meals each time, easy to digest soft food. In the attention to diet at the same time also need to pay attention to the sleep situation, do not stay up late, regular life, to develop a good spiritual life, so that the habits of life tend to be regular.