A 45-year-old man presents with worsening low back pain radiating to both legs over 2 weeks. He now reports difficulty initiating urination and numbness in the perineal area. On examination, there is decreased anal tone and reduced sensation in the saddle distribution. Which is the most appropriate immediate action?