Big scare

Ladies, i had a big scare this morning, my chest, my back, and my upper abdomen, all felt this horrible twist tightening. It was this horrible pain. It lasted for about 30 minutes. I had the same problem last time after my baby was 2 weeks after birth and the hospital couldn't find out what it was caused by. So i just waited it out this time just breathed and tried to relax during the pain. My baby is still active and was active during but idk what is causing that pain have you ladies felt like this once or before too?