Cephalosporins can be administered orally or intravenously, depending on the type and severity of the infection. Oral forms are often used for less severe infections, while intravenous forms are reserved for more serious infections or when oral administration is not feasible.