A 16-year-old male presents to the emergency department with severe, sudden onset pain in his left testicle, accompanied by nausea and vomiting. The pain started a few hours ago while he was playing basketball. On examination, the left testicle is tender, swollen, and lies higher in the scrotum than the right. The cremasteric reflex is absent on the left side. His mother mentions that his brother had a similar episode a few years ago. What is the definitive management for Alex’s condition, given the family history and clinical presentation?