A young adult male presents with a mild ache in the right sc…

A young adult male presents with a mild ache in the right scrotum, and the provider observes a bluish hue visible through the skin on the affected side. Upon palpation, a cluster of dilated veins is felt on the upper spermatic cord. What is a crucial subsequent action in the management of this patient?