Rifampin can be administered orally or intravenously, depending on the medical condition and the severity of the infection. The oral form is often preferred because it is easier to administer at home. The dosage is typically based on the child's weight and age, ensuring that the drug is both safe and effective.