There is no cure for ankylosing spondylitis. Treatments can improve symptoms and possibly prevent worsening. This may include medication, exercise, and surgery. Medications used include NSAIDs, steroids, disease modifying antirheumatic drugs such as methotrexate, and biologic agents such as infliximab.