Well, it helped that doing anything other than lying on my back triggered absolutely massive waves of pain. So I didn't really have a choice. I recommend taking a sleep aid beforehand and following all the usual advice for insomnia - avoid screens, read a book, lower the lights.
It felt very weird for about 3 nights, and after a few weeks started to feel natural.