Cystoscopy is typically performed under local or general anesthesia, depending on the patient's condition and the complexity of the procedure. The cystoscope is inserted through the urethra into the bladder, allowing the physician to visually inspect the internal surfaces for abnormalities. If necessary, biopsies can be taken for further histological examination.