My daughter is 2 years old and has recently been experiencing ear pain. I noticed that the earwax is purulent and slightly yellow. Her ears are ringing, and she has a mild fever. How should pediatric otitis media with yellow discharge be diagnosed and treated?