Night cramps

Celeste
Does anyone get cramp pains when trying to sleep? The doctor told me it was the baby but am just concern I may be sleeping wrong or am laying on my baby