If the swelling of otitis media becomes severe, it may perforate the tympanic membrane. Otitis media is the inflamation diseases in the middle ear. Acute otitis media occurs when a cold, allergy, or upper respiratory infection, and the presence of bacteria or viruses lead to accumulation of pus and mucus behind the eardrum.