Otitis externa is a bacterial infection of the outer ear. By contrast, otitis media is an infection in the middle ear. A build-up of mucus in the ear following a cold or flu causes most middle ear infections. Symptoms are similar for both types of ear infections, and your GP will be able to confirm the diagnosis by looking inside your ear.