A 60-year-old man presents with severe pain, itching, and discharge from his right ear for 3 days. He is a keen swimmer. On examination, the ear canal is erythematous and oedematous. Manipulation of the pinna is painful. What is the most appropriate first-line treatment?