Mastectomy is often done for people with breast cancer. Both men and women can get this cancer. Both men and women can need a mastectomy. Some people with a high risk of breast cancer have the operation before the cancer starts.