This isn't a stand-alone case. Surgery of bladder cancer may remove both the bladder and prostate. Nerves that send signals to cause an erection run very close to the prostate, and these may be damaged in the surgery. Talk to your doctor about treatment options, many are able to recover through treatment.