Your baby will be fine. Just try not to sleep directly on your back as much now.
Am 39 week and still change position to my back
When I was in labor and delivery with my first and this time due to contractions they always have me laying on my back because it's better to read the baby's heartbeat when I laid on my side because laying on my back made me uncomfortable but I had to so I'm guessing it's ok to