During a colonoscopy, you lie on your side or back and the doctor puts a thin tube with a camera into your anus (from behind). Then, the doctor advances the tube into the rectum and colon. The camera sends pictures from inside your colon to a screen.