Yes it is painful.
I've had 5 rib injuries in the last 2.5 years, 4 from skiing. One thing I've learned is that the sooner you can get it back in place the better. It drastically improves healing time. One time I got it put back in the next day and there was almost no recovery time.
This time I bought this and I hope it helps prevent them in the future:
https://www.evoshield.com/en-us/protective-gear/rib-shirt/adult-performance-rib-shirt