When diarrhea increases the number of stools, the stools contain more bacteria, which can irritate the mucous membrane of the lower rectum and the skin of the anus, causing symptoms such as blood in the stool and pain in the anus. If you repeatedly wipe your anus with paper, it will also form a friction on the anus, thus causing blood in the stool. The first thing to do is to control the stool, which is to treat the symptoms of diarrhea, you can take some oral anti-diarrheal drugs, such as montelukast, which has an anti-diarrheal effect, and with the inclusion of hemorrhoid cream or hemorrhoid plugs inside the anus to stop the bleeding. If it is convenient to go to the hospital, you can take a stool specimen and go to the hospital for a routine stool test to see what causes the diarrhea, if the stool contains the appropriate bacteria, you need to take oral antibiotics for symptomatic treatment.