If you experience pain in both of your hips, try to sleep on your back. You can get away with sleeping on your side if only one of your hips is sore. You won’t put pressure on the painful hip when you sleep on your good side, so you can usually have a pain-free night. If both hips hurt, though, you’ll be putting pressure on a sore joint no matter which side you sleep on.