Having a breast biopsy is the only way to definitely diagnose breast cancer. There are several types of biopsies, including needle biopsy, which is less invasive, and surgical biopsy, which requires a portion of the breast to be removed. The type of biopsy needed depends on everything from your mammogram results to how your breast feels, to your doctor's opinion.