Getting out of bed

I’m 27 weeks pregnant and when I get out of bed I just sit up automatically. I roll from my side on to my back and just sit up. It’s just a reflex and I’m not thinking about it when I do it but lately I have been wondering should I be doing this? Is this bad for the baby?