Sleeping on back in pregnancy

Lucy

I’m 6 weeks pregnant and fell asleep on my back before when I had a nap, I try not to sleep on my back but will the baby still be okay? Panicking now