Cracked rib during pregnancy?

I've got so much pain on one side of my ribs and noticed there is a bruise. Anyone had this? What can I do? X