Chronic Rib Injury Pushing me out of the Sport

My sports doc said the same when I hurt mine. To this day I have pain and stiffness if I do any sort of repetitive twisting motion with my torso, like bowling or playing softball. I’ll be hurting for like 2 days after a game of softball.