Hey.
I think its best you do go to the hospital.
For all we know, it could be a broken bone in your rib, and your ribs are near your lungs, (which causes you to breath) and if its a broken bone, it could damage your lung. So i say go get checked asap has it could be something life threating.
-Hope this helps, get better soon..
_natty_