Viruses can cause changes in the lining of the respiratory tract, increasing secretions and decreasing middle ear drainage. Although an ear infection isn't an emergency, the first 24 hours are often when the pain is the worst. Consider eardrops containing a local anesthetic. They may help reduce pain but they won't prevent or stop an infection. Don't use eardrops if there is drainage from the ear.
Treatment varies depending on the severity of the infection.
In other cases, your doctor may prescribe an antibiotic to treat the infection. Within 2 to 3 days of beginning the medication, symptoms usually improve. Decongestants and antihistamines. If you're congested from a cold or allergy, these medications may improve airflow from your middle ear through your eustachian tube, equalizing pressure and relieving discomfort. During this procedure, your doctor may also insert a small tube through the eardrum to allow fluid to drain from the middle ear.