Sharp pain after getting up from bed

Me

I got up from bed and back in bed and then I got this sudden sharp pain on my upper belly. Could I have squished or hurt baby? Maybe I did it too fast and bent too much? This is the second time it’s happened!