Varicocelectomy is surgery to fix a varicocele. A varicocele is swelling of veins in the scrotum. This swelling is due to blood backing up in the veins.