Management of Ankylosing spondylitis is with medication and exercise. Try to remain as physically active as possible. Joint stiffness can be progressive with loss of flexibility if regular exercise is mot done. You can do any exercise after proper stretching. Cycling, swimming can be done. Any activity causing severe or persistent pain should be avoided.
Health Tips
Avoid weight gain by regular exercise to avoid exacerbation of symptoms.
Anytime if pain is severe and mot relieved with medications, you should consult a pain specialist for intervention like Sacroiliac joint injections or other depending on site of pain.