The procedure varies depending on the type of biopsy. Generally, local anesthesia is used to numb the area, and the sample is collected using the appropriate technique. For surgical biopsies, general anesthesia might be required. After collection, the sample is sent to a laboratory for histopathological examination.