31 weeks pregnant -fell

Nikki • had our first baby boy on Oct.23! :) ttc baby #2
So I was walking back from the bathroom at 3am and tripped, hit the corner of the bed with my stomach then fell on the floor..right after I felt baby move right away but I also felt like I was going to puke and had really bad cramping..when I laid down it stopped after awhile but today my stomach is SO sore..I sent my doctor a message but I'm just hoping someone can tell me baby is ok. :( could it just be a pulled muscle or something?