Thanks for posting your query
From description it seems you might developed soft tissue injury
with contuised or broken rib.You need an xray to rule out any bony injury.
Take rest, do hot fomatation, deep breathing exercises, take antiinflammatory drug like ibuprofen
to reduce pain and inflammation.
Hope this will helps you.
Dr Saurabh Gupta