A baby girl, just 1 year old, this week, the child said her ear hurt, and she found the earwax was purulent and somewhat yellow. At the same time, she seemed to have little appetite and was also weak. How should pediatric otitis media with purulent discharge be treated?