Not much you do for sore ribs except take pain killers. After I had CPR I was given a few doses of oral morphine then a couple of weeks on max strength co-codamol.
If you remember, a few years ago, Baldric fell off his ladder adjusting spotlights high up and was very lucky indeed - yes he was hurt but came through.......