Surgery to certain organs in the pelvis and abdomen may affect fertility, including the testes (orchiectomy), prostate (prostatectomy), seminal vesicles, bladder (radical cystectomy), lymph nodes, pituitary, or hypothalamus gland. How significantly fertility is impaired depends on the type of surgery.