The doctor may need to do a colonoscopy or flexible sigmoidoscopy, which involves inserting an endoscope into the anus to see the inside of the large intestine. An endoscope is a long, flexible, lighted tube hooked to a computer and TV monitor. He or she will see any inflammation or bleeding.