Back/side pain

When I sleep I wake up a bunch because my lower left side/back hurts. Like it’s a nerve pinched but it’s only when I am laying down and it goes away a little after I’m up and moving around. 17 weeks 4 days pregnant and just wanted to see if it was normal or what. I’m going to tell my dr at our next appointment but man it sends a shock through my body if I move wrong. And not getting the sleep I need because of it.