Treatments for ankylosing spondylitis may include medications to reduce inflammation and manage symptoms, physical therapy, exercise, and lifestyle modifications. In some cases, surgery may be recommended.