22 weeks and still waking up on back!

22 weeks pregnant and I just woke up on my back last night, idk how long I was sleeping that way. Did I harm the baby at all? I feel like I did