pulled muscle/ pulled ligament?

Laura
I'm 34 weeks pregnant. earlier tonight I was laughing and moved quickly, and it felt like something snapped at the top of my bump on the right side near my ribs.
It's now so painful when I laugh or cough or breathe deeply! 😖😖
Any ideas what I could have done?? 
OUCH