The administration of corticosteroids is typically done through intramuscular injections. For fetal lung maturity, betamethasone is usually given in two 12 mg doses 24 hours apart, or dexamethasone in four 6 mg doses 12 hours apart. The choice of corticosteroid and dosage may vary based on the clinical situation and the healthcare provider's judgment.