Cefalexin can be administered orally in the form of capsules, tablets, or liquid suspension. The dosage typically depends on the type and severity of the infection, as well as the patient's age and kidney function. It is important to complete the full course of antibiotics as prescribed to prevent the development of antibiotic resistance.