Treatment of patients with prostate cancer has evolved considerably in the last decade , especially in terms of minimization of the negative impacts on erectile function and continence to ensure good quality of life for treated patients .