Laying on your back

Jessica
Is it safe to lay on your back during pregnancy? I read somewhere that it wasn't, but now I can't find it. I usually sleep on my back because it's the most comfortable. 
I'm only 8 weeks right now, so my baby is very small, but what about later in the pregnancy?