The tubes that carry the sperm from the testicles to the penis are severed in the scrotum, then cauterised/folded & stitched (or both). This ensures that the sperm cannot travel through and join with the semen, but does not effect the semen at all – you ejaculate just fine but, done correctly, you’re “shooting blanks”.
Latest Answers