Prostate cancer and its treatments can potentially affect fertility. Some treatments, such as surgery or radiation therapy, may damage nearby structures involved in sperm production or ejaculation. However, fertility preservation options may be available for men undergoing treatment.