Corticosteroids should be used during pregnancy only if absolutely necessary and under close supervision. They can potentially affect fetal development, so the risks and benefits must be carefully evaluated. Topical formulations are generally preferred over systemic corticosteroids due to lower systemic absorption.