Sleeping on my back?

Sophie • I'm 14 and due on June 2nd
I'm having trouble getting to sleep laying on my sides, I will get to sleep but it takes about an hour. Would I be able to lay on my back to sleep? I've heard its bad but I just want to make sure so I don't hurt my baby girl. (31 weeks pregnant)