Tamoxifen belongs to a class of drugs called selective estrogen receptor modulators (SERMs), which work by blocking estrogen from binding to its receptors in the breast. This drug works as well in both premenopausal and postmenopausal women.