To determine primarily whether tadalafil preserved erectile function in men treated with radiotherapy for prostate cancer , and secondarily to determine whether participant - or partner-reported overall sexual function and sexual and marital satisfaction were affected .