Stomach sleeping

So I'm 31 weeks 3 days. I make sure I fall asleep on one of my sids at night, but when I wake up to go to the bathroom I'll wake up on my stomach with no reconciliation on how I got there...so obviously I'm turning over while sleeping. Is this going to hurt the baby at all?? I'm just worried I'm going to squish him.