Constricting around ribs

So just a little bit ago I had this constricting feeling around my ribs that made it feel as if I couldn't breathe. What could this be? Has any one of you ladies experienced this? It was very painful.