Antiandrogens work by binding to androgen receptors on the surface of cancer cells, preventing androgens from attaching and activating these cells. Some antiandrogens, known as non-steroidal antiandrogens, specifically inhibit the androgen receptor, while others, called steroidal antiandrogens, decrease androgen production by inhibiting enzymes involved in androgen synthesis.