Your doctor might recommend a colonoscopy if you have reported frequent gastrointestinal symptoms, including constipation, irregular stools, frequent diarrhea, blood in the stool, sudden weight changes, and/or abdominal pain.