Regular exercise can help reduce stiffness and increase mobility. Spine-strengthening and water-based exercises may be of particular benefit.
Aerobic exercises can increase the levels of natural opioids, which can reduce pain.
For immediate pain relief, consider NSAIDs like ibuprofen or naproxen. Your doctor may also recommend corticosteroids or other medications to help with pain from AS.