Thanks for posting your query.
It seems to be soft tissue injury
,but a x-ray chest is required to rule out fracture
I suggest you to consult a doctor nearby for a detailed examination. You may get the X-ray of the area affected under his/her guidance.
In the interim, ice the affected area and take anti-inflammatory drug like mortin to reduce pain and inflammation.