I sleep on my back til 3rd trimester when baby gets heavier.. will feel uncomfortable and automatically changed to sleeping on side..
Most importantly, sleep with the position that you feel most comfortable with. It’s better to get rest than not to sleep at all due to the pain. After all, when you’re sleeping, you’ll change position too.