Laying on my back?

Chelsea
Is it bad to lay on my back?? It's the most comfortable way to lay but I've been told not to. It hurts to lay on my sides.