Sleep Advice Please!!

I’m 14 weeks pregnant and for the past 2 weeks I’ve been struggling with sleep, by feeling uncomfortable. Before pregnancy Ive always slept on my back. Which I’ve been told I can’t do anymore as it’s dangerous.. is this true??