Dexamethasone can be administered orally, intravenously, or intramuscularly, depending on the patient's condition and the severity of the disease. The dosage and duration of treatment vary based on the specific infection being treated and the patient's response to therapy. For example, in severe COVID-19, a common regimen is 6 mg daily for up to 10 days or until discharge.