A prostate biopsy is a procedure that involves extracting ... The procedure can be done in the office under local anesthesia or with intravenous (IV) sedation at a surgical center.