A 63-year-old man with known prostate cancer presents with new-onset lower back pain, difficulty walking and urinary hesitancy. Examination reveals bilateral lower limb weakness and a sensory level at T10. What is the most appropriate immediate management?