Tamoxifen oral tablet is only available as a generic drug. Generic drugs usually cost less than a brand-name drug. Why it's used. Tamoxifen is used to treat and reduce the risk of certain types of breast cancer. How it works. Tamoxifen belongs to a group of drugs called antiestrogens. A class of drugs is a group of medications that work in a similar way.