A colposcopy is typically performed when a Pap smear result is abnormal. This procedure helps in further evaluating the potential presence of cervical cancer or precancerous changes. It can also be used to investigate unexplained bleeding, the presence of polyps, or other abnormalities in the cervix.