Welcome to HCM'
Your description seems to indicate some injury
to your rib giving rise to the pain.
Please get a check up with doctor and discuss . you may need some investigations like x-rays etc to reach a diagnosis and proper treatment .
It will be better to take rest till you get a check up .