Cefdinir is most commonly used to treat the following infections: 1  Bronchitis. 2  Middle ear infection (otitis media) 3  Sinus infection (sinusitis) 4  Pneumonia. Skin infection (cellulitis) 5  Tonsillitis. Throat infection (strep throat).