When is it time to stop sleeping on your tummy when you are pregnant?

I am 14 weeks now, and have been trying to 'train' myself to sleep on my left side in preparation for later on. However, I am having really restless nights as I am use to sleeping on my tummy. Does any one know whether I still can sleep on my tummy and when I should stop?

Thanks