A 2-year-old boy, these days, the child has been scratching his ears and complaining of itching. In the morning, the earwax is a bit thick and yellowish. At the same time, there is a buzzing sound in his ear, and he has a slight fever. How should a child with purulent otitis media be treated effectively?