Waking up on my stomach…help plz!!

Telia

Hi everyone! I was wondering if y’all had problem with this as well. I try to sleep on my left side, but when my hip starts to hurt too badly I flip to my right side. But when I wake up from my right side, I’ve rolled onto my stomach further than I would like to be. I’m not completely flat, but I’m like halfway on it and I’m worried about squashing my baby. Did y’all do this, and was baby okay? Any suggestions on how I can prevent this? I am 23 weeks btw.