Oof. That sucks. Fractured ribs is the worse that I've ever felt, I think. I fractured ribs during a 24 hour mountain bike race. It was probably 1am. I walked miles and miles back to the start/finish. Back at the rental house, I remember crawling quite painfully into a top bunk (foolish, I should have accepted the offer of the lower bunk), and then being on my hands and knees unable to roll over onto my back because it was too painful. I'm having PTSD right now writing about it.
It eventually heals, measured in weeks, not months. Get well. Hope you get a shiny new bike for your troubles.