Hip pain

With only being able to sleep on my right or left side, my hips have been killing me! I literally toss and turn all night because if I stay on one side too long I start to get a burning achy feeling and switch over. Any remedies for this? I’m starting to think I should sleep on my recliner so I’m on my back but elevated at least!