ENT

A child presents with right 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?