Pain in hips

As

Anyone else getting pain in their hips at night? It wakes me up several times! I’m not sure if it’s because I usually sleep on my back and I have switched to sleeping on my sides?