This study suggests that short perioperative treatment with tamsulosin can reduce the incidence of urinary retention and the need for catheterization after varicocelectomy , inguinal herniorrhaphy , and scrotal surgery .