Corticosteroids are sometimes used to treat TB when inflammation is a major cause of morbidity and are indicated for patients with acute respiratory distress syndrome or closed-space infections, such as meningitis and pericarditis.