Stomach sleeper!

Meghan
I'm 20 weeks and I still catch myself sleeping on my stomach. My sister in law said I shouldn't and that I need to check with my doctor about it. But if I don't know I'm doing it how can this be bad for the baby?