Thanks for writing to us.
The pain in the ribs is likely to be due to a muscular injury,. A bone injury
is not likely. You can start with a mild pain killer and hot fomentation along with adequate rest for relief. Usually the pain subsides in 5-7 days.
I hope this information has been both informative and helpful for you.
Dr. Praveen Tayal