DMARDs are typically prescribed when a child has a diagnosed autoimmune or inflammatory condition that has not responded adequately to first-line treatments like nonsteroidal anti-inflammatory drugs (NSAIDs) or corticosteroids. They are also considered when the goal is long-term disease control and prevention of joint damage.