There is no cure for ankylosing spondylitis, but there are several approved treatments that can help manage the symptoms. Options include over-the-counter pain relievers, anti-inflammatory drugs, and prescription medicines. Your doctor may also prescribe an individualized exercise program. These treatments can help manage symptoms of AS, including pain.