Hip and knee pain in bed

Aubrey
I've been really struggling to sleep for the last week or so because I wake up with hip and knee pain so often. I have a body pillow that I use between my legs and I'm naturally a side sleeper. Any tricks for lessening the pain/pressure?