The biggest thing with any chronic pain is that there is a psychological aspect to it which nobody thinks about, and that means you can use that lump of mince between your ears against the pain. Accepting that yer fucked and keeping a positive mental attitude will work wonders as when your head goes down then the pain will go up.
Took me years to master, my back is so bad the only solution is to fuse L2-S1 and since they've never done that in my local hospitals they don't want to try it, and my attitude is simple. Be stubborn, remind yourself that you are the boss, not the pain, and that you know where the pain comes from, why it's there and that it won't kill you so it can go fuck itself.
Keep as mobile as possible, every movement helps, but don't force things. As far as the spasms go, if they're muscle spasms then 5mg valium can help there. Keep painkiller use to the absolute minimum and vape CBD for the inflammation.
As I say, my back is fucked too. I'm at the point where walking more than 20 yards needs a walking stick, and that's a good day. Other days it's crutches, really bad days mean the wheelchair is out, but the bottom line is that, no matter what, I WILL get off my ass and get outside no matter what, I WILL go to a store, or a bar, or for a coffee no matter what, this will not beat me and I WILL enjoy life for pain is not going to control me.
I have good days, bad days, shit days and days when I wish they would euthanase me. But I make sure the first one happens more than the other three combined, even though I had to accept I cannot work any more, that there's no chance of doing anything like what I did before (had to sell my car because driving was getting too painful), my attitude is "shit happens, move on and do what you CAN do rather than dwell on what you can't do".
Keep your head up and "your tail high", you'll find life will get better.
And swearing. Lots of swearing. A good outburst that would make a sailor with tourettes blush gets more stress out than any drug can, just be careful where you let that fly though because it seems they don't appreciate that in court...