30 weeks - sleeping position

Is it okay to sleep on my back when I’m 30 weeks? Is there a certain amount of weeks I should stop sleeping on my back?