A painful ball of flesh in the anus may be caused by a hemorrhoidal attack, or a perianal abscess, etc. It should be examined to determine the cause. 1. Hemorrhoids: Different types of hemorrhoidal flare-ups can cause localized swelling and pain in the anus. Hemorrhoids are caused by elevated pressure in the veins at the anus and rectum, which in turn leads to enlarged veins. The main symptoms, such as persistent throbbing pain, redness, swelling and pressure, such as squatting for a longer period of time, or after the action of greater abdominal pressure, will produce more obvious symptoms. 2. Perianal abscess: refers to the perianal rectal tissues or peripheral space of acute suppurative infection and the formation of abscesses, at first will be felt in the perianal hardness, and then the development of pain, redness, swelling, the patient will be difficult to defecate, and even systemic factors, such as fever, chills, fatigue, these symptoms, and so on. It is recommended to pay attention to a light diet on weekdays, do not eat spicy and stimulating food, more exercise; the above symptoms, please consult a doctor in a timely manner, a clear diagnosis and active treatment, in order to avoid delaying the condition.