For both nonsurgical and surgical biopsies, your doctor is likely to administer local anesthesia. However, for surgical procedures, some women may need general anesthesia.