broken rib? pls comment!!!!!!

I'm 5 months pp and was doing exercises and right before I went to bed I had this crazy pain on the right side of my back. I can't pinpoint it but it feels deep and goes all around to the front. It's uncomfortable to breathe but not overly painful. The back pain is horrible though. Would I know If I broke a rib or does it just sound like a pinched nerve? It's around the middle of my back closer to the spine