ENT

A child presents with left ear hearing loss of three month duration. On examination, foul smelling purulent discharge is seen with perforation in pars flaccida. What is the most appropriate management?