In conclusion, we found that postmenopausal women had decreased risk of breast cancer, and tended to have breast cancer of HER2‐overexpressing and triple‐negative subtypes, while women with a history of abortion had increased risk of breast cancer. The gene discussed is ERBB2; the disease is breast cancer.