A 16-year old male presents with increasing pain and swellin…

A 16-year old male presents with increasing pain and swelling in his right scrotum. The right testicle is extremely tender to palpation on examination. A doppler ultrasound demonstrates decreased blood flow. Which of the following is the most appropriate intervention?