My OB told me that usually you will instinctively move yourself with discomfort when it's not good. It's when you ignore that discomfort or if you're taking things to help with sleep that it can get dangerous.