As u have a AS,high intensity exercises u have to avoid like jogging,skipping because it may cause pain to joints like hips,spine and knee.
U should perform a low impact exercises like walking, swimming, aerobic exercises,cycling stretching,and strengthening exercises to ur muscles
Next Steps
maintain proper posture,improve flexibility, strengthening ur muscles will help u in this case