A colonoscopy is an effective way to detect colorectal cancer. By the time you are 45 or older, you should talk to your doctor about scheduling the procedure.