Some treatments for prostate cancer, such as prostatectomy and radiotherapy, can cause damage to the nerves and blood vessels needed for an erection. Other treatments, such as hormone therapy, reduce the amount of testosterone in the body, which can reduce your sex drive and also lead to problems getting and maintaining an erection.
Erectile dysfunction can range from mild, where an erection may be possible but either the penis is not firm enough for sex or cannot be maintained, to severe, where an erection is not possible, either spontaneously or during sexual stimulation. It is possible for erectile function to improve following surgery but this can take between three months and three years. There are also many treatment options available. You will be able to speak to your doctor to decide which treatment is the most suitable for you.