You need a prostate gland to get prostate cancer. So it mostly affects men. Trans women and non-binary people who are born male (assigned male at birth) can also get prostate cancer. Prostate cancer is most common in older men.