How is otitis media (middle ear infection) diagnosed? When an ear infection is suspected, the doctor or nurse will examine the ear using an instrument called an otoscope. ... Another useful diagnostic tool is tympanometry, a test that uses sound and air pressure to check for fluid in the middle ear.