Laying on your back

At what part of your pregnancy is it not ok to lay on your back? I laid down at 6 weeks and it felt strange.