The present invention relates to a method for the prevention or treatment of certain breast cancers or ovarian cancer comprising administering to a patient in need thereof of a therapeutically effective amount of a 17,20-lyase inhibitor, wherein the breast cancer or ovarian cancer is estrogen receptor (ER) negative.