Help?????

I am 5 months pregnant and I've heard that it's bad to lay on your stomach and back ? Is this really true ???