Hi ,so i suffer from ankylosing spondylosis and the worst pain that i get is in my right SI joint.i just came back from a walk with my dog,not a long walk ,just 2km but ny back hurts so much,im unable to sit down or move. My treatment is going on,but for my sacroilitis i've been told to work on my back muscles and core that it'll prevent me from hurting my back.but when i strt to workout,i get sharp pains in my back at times,what should i do in such times? Not walk ,take rest,take painkillers?