There are several reasons for anal pain and blood in the stool: 1. It may be an anal fissure, as dry stools tend to damage the skin of the anal canal and form fissures, in which case you should pay attention to your diet, take warm salt water baths and apply external hemorrhoid cream if necessary. If the tear is deep and the symptom relief is not obvious, you may need anal fissure surgery to treat it. 2. It may be a hemorrhoid combined with thrombosis embedded, the pressure increases during stool and the hemorrhoid comes out of the anus to form edema. If in the early stages, the hemorrhoid will automatically return to the anus, but if a blood clot forms over time, surgery should be performed. 3. It may be a perianal abscess, where anal stool can also cause pain, and if abscesses and ulcers have occurred in the anal area at this time, they can also lead to bleeding. If not treated in time, perianal skin infection will also occur. The cause should be determined by perianal ultrasound for timely treatment.