A 8-year-old boy, this week, reported that his ears were itchy and painful. Additionally, it was found that the earwax was purulent and slightly yellow. Moreover, there was a buzzing sound in his ears, and he had a slight fever. How should yellow discharge in children with otitis media be treated effectively?