sleeping positions

Who sleeps on their right side and can it harm the baby ? Ftm. I wake up in the middle of the night either on my back , right side or left side. I change positions constantly. I'm afraid I'm hurting the baby when I sleep on my right side and back.