Broken or bruised rib from jumping from bannister?

Can't tell. Go to the doctor and get an x-ray - that will tell you.
Doesn't matter. Both are treated the same way, with activity modification and time. Activity modification means avoiding activities that make it hurt, ie coughing, sneezing, moving suddenly, ab exercises, that sort of thing. As the pain with those activities begins to resolve, you can resume them.