Diagnosis typically involves a physical examination by a pediatrician, who will use an otoscope to look inside the child's ear. The presence of fluid, inflammation, or a bulging eardrum can indicate an infection. In some cases, hearing tests may be recommended to assess the impact on hearing.