Good Morning Tom, I’m sorry you’ve had a rough night.
You may have felt better in the hospital due to meds they gave you initially, or injected into the surgical area before closing. My surgeon used Exparel which gradually wore off over the first 72 hrs. Your comfort level may also have been with the fact you were surrounded by medical professionals who were at the ready, should you have a question, or need them.
You can contact your surgeons office about the muscle spasms if they’re really bothering you and they may be able to offer you something. Another option that’s worked for some is Magnesium -
Magnesium supports the following:
Bone health
Healthy blood sugar
Cardiovascular health
Muscle relaxation and nerves
Promotes healthy sleep (falling asleep and staying asleep)
An article on Magnesium -
https://bonesmart.org/forum/threads/magnesium-is-a-star.20301/
I've also heard of drinking 4-6 oz of Q-Tonic before bed which is a water that contains quinine. Read the label as some of the waters do not contain quinine, but quinine flavoring instead.
Try ice or heat on your back and see if it brings you any relief. However, do not apply heat to your incision area.
It the pillow the PT suggested you use in bed makes you uncomfortable, stop using it. It’s all about your comfort right now.
Hope you feel better as the day progresses.