Varicocelectomy is a surgery performed to remove those enlarged veins. The procedure is done to restore proper blood flow to your reproductive organs. When a varicocele develops in your scrotum, it can block blood flow to the rest of your reproductive system. The scrotum is the sac that contains your testicles.