In the first trimester of pregnancy, sleeping on your back is fine. After 28 weeks, sleeping on your side reduces the risk of stillbirth.