What’s wrong with the swelling and pain in the lower abdomen and the urge to poop?

If the patient has abdominal pain, wants to defecate, and there is pus and blood in the stool, it is necessary to pay attention to whether there are occupational lesions in the intestine, such as low rectal cancer, colon cancer, etc., and it is necessary to do rectal examination or even colonoscopy to exclude them. In addition, we should also pay attention to colitis, which can also be manifested as lower abdominal distension and pain, the patient wants to stool, there can be blood and pus blood in the stool, this situation can do stool tests and colonoscopy to clarify together.