It has been six months, anal swelling, three times a day stool, stool is not shaped may be ulcerative colitis, rectal cancer and other diseases caused by the patient should seek medical attention. 1. Ulcerative colitis: a chronic autoimmune disease of unknown etiology, patients will have anal swelling, three times a day stools, unshaped stools and mucus, pus and blood stools, which can be treated with drugs such as salicylazosulfapyridine and mesalazine. 2. Rectal cancer: if the patient has anal swelling for half a year, three times daily bowel movement, unshaped bowel movement with bloody stools, weight loss and other symptoms, rectal cancer should be considered, and this kind of patient should be actively prepared for surgery, and cooperate with radiotherapy. If the above symptoms appear, patients should go to regular hospitals for active diagnosis and treatment to avoid aggravation of the condition; all the above medicines and operations should be carried out under the guidance of doctors.