Cephalosporin antibiotics are used to treat bacterial infections such as pneumonia, skin infections, and urinary tract infections. They also have other uses, including treating ear infections and certain types of sexually transmitted infections. They work killing the bacteria by preventing them from making their own protective covering. These medications come in different forms, including oral pills and injectable solutions. Examples include cephalexin (Keflex), cefdinir, cefuroxime, cefpodoxime, and cefixime (Suprax). Your prescriber will help you choose the form that best fits your needs.