Advanced and aggressive prostate cancer can lead to sexual problems, such as erectile dysfunction, affecting fertility. However, the treatment for prostate cancer is often the main cause of fertility issues. Prostate cancer treatments may affect your fertility for a while or forever, depending on your health, age, and the nature of the treatment.