Diarrhea refers to diarrhea, pain in the buttocks refers to anal pain, diarrhea caused by anal pain with improper wiping, functional diarrhea, enteritis and other factors related to the use of tannin ointment, loperamide, montelukast, bifidobacteria and other medications as prescribed by the doctor. 1. Improper wiping: after repeated diarrhea, frequent wiping of the anus can stimulate or damage the perianal muscles and skin, thus causing anal pain. Pay attention to wipe the technique to be gentle, can also be used to apply tannic acid ointment to ease the discomfort, while the use of montelukast, bifidobacteria and other drugs to reduce diarrhea; 2. Functional diarrhea: the disease can lead to diarrhea, if the frequency of diarrhea can cause anal pain. It is recommended to use loperamide, phenethylpiperidine and other anti-diarrhea drugs as prescribed by the doctor to reduce diarrhea, thereby relieving pain and discomfort; 3. Enteritis: diarrhea as the main manifestation. The feces discharged from this disease repeatedly pass through the anus, which can damage the anal mucosa and cause pain. Oral Montelukast, Bifidobacterium bifidum, Lactobacillus acidophilus and other drugs can be prescribed to protect the mucous membrane of the gastrointestinal tract, regulate intestinal flora, alleviate diarrhea, thereby relieving anal pain. In addition, diarrhea causing anal pain may also be caused by other diseases, so it is recommended that such patients seek medical attention in a timely manner to clarify the cause of the disease, under the guidance of the doctor to comply with the prescribed medication.