Surgery

A 13-year-old boy present with acute onset right scrotal pain. The pain is not relieved on the elevation of the scrotum and he has no fever or dysuria. The testis is enlarged and tender. His routine urinary examination is normal. There is no history of trauma. Which of the following is the most appropriate management -