A 21-year-old man presents with a painful swollen right testicle which developed over a few hours. He feels nauseated and vomited once. The testicle is high-riding and exquisitely tender, and the cremasteric reflex is absent. What is the most appropriate management?