Middle ear inflammation refers to an infection and inflammation in the cavity behind the eardrum and in front of the ear canal, which is common in children. When middle ear inflammation occurs, the child may experience pain in the ear, and the earwax may turn into a pus-like yellowish substance. If a child shows these symptoms, how should they be treated?