Broken ribs in snakes typically heal up on their own...but until they do, handling the snake could push a broken rib into other organs & do real damage.
I had for many years a rosy boa that was originally wild caught, then kept by someone else who gave him to me: as such, he was not returnable to the
wild. This snake had several broken ribs that healed*...it was only obvious when he slithered a certain way, then you could see an area that was concave.
His handling by me was minimal & gentle...he wouldn't have been a good pet for kids to handle; he lived to a good old age with me, no issues from ribs.
*he would never say how it happened...
And you should just go to the lake & let your snake rest.