The anal pain in the stool is considered to be related to internal hemorrhoids, anal polyps, rectal tumors and other reasons. 1. Internal hemorrhoids: internal hemorrhoids hemorrhoid nuclei repeatedly protrude outside the anus, will lead to anal outlet obstruction, the stool does not form the situation, but also can make the hemorrhoid nuclei increase in size, redness, swelling, anal drop situation. 2. Anal polyps: when there are polyps formed in the anus, the enlarged polyps can make the anus become narrow, so that the shape of the stool changes, resulting in anal pain. 3. Rectal tumor: when tumor cells invade into the whole layer of rectum, it will lead to narrowing of intestinal tube, which will hinder the excretion of stool and lead to the symptoms of unshaped stool and anal pain. When there is anal pain and unformed stool, it is recommended to go to the hospital in time to clarify the cause of the disease, which will be beneficial to the treatment of the cause, so as to avoid delaying the condition.