I broke a few ribs skiing last Christmas- hurts like a bastard doesn’t it!
Sleeping is very difficult and probably the worst part. Like a twat I had one afternoon off the mountain and then carried on skiing for another 4 days. Obviously I took it easy but the pain was bearable all the while I was up and moving.
My advice for sleeping is to get as comfortable as you can on your back and basically don’t move. I came up with a less than elegant rolling technique to get up where my OH had to push me round a few times to build up momentum. Think of a beached whale and you get the rough idea!
Unfortunately the pain will be with you for around a couple of months, maybe a bit less if they’re only bruised, but there’s little you can do. I did find that heat pads/ hot water bottles helped to relax the muscles as they healed so give that a try- the relief is fantastic. Other than that, painkillers helped but not much tbh. The most random movements make them hurt- pretty sure some people in my hotel thought I had Tourettes! Good luck