During a colonoscopy, you lie on your side 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 television screen.