Cephalosporins are a type of antibiotic that can treat a range of simple infections. People can take them orally or doctors can inject them into a vein. Cephalosporins are a type of antibiotic.