Thanks for putting up your problem at Healthcare Magic!
You might have injuried yourself seriously by the collision.
It can be a soft tissue injury
but you could have had a fracture
of ribs and may be a pneumothorax
or a hemothorax
where air or blood collects around the lung respectively; abnormally due to injury.
Please visit your physician and get an Xray chest.
You would need a good pain killer like Voveran Plus for 5 days and if any abnormality visible on Xray then to be treated accordingly.
I hope the advise would be helpful for you.