Cefdinir (Omnicef®) is a prescription antibiotic used for treating a number of infections caused by bacteria in both children and adults. Cefdinir is most commonly used to treat the following infections: Bronchitis. Middle ear infection (otitis media) Sinus infection (sinusitis) Pneumonia. Skin infection (cellulitis)