Trouble sleeping

Kr
Hi ladies! I am finding that my hips start to hurt when I sleep on my side for too long which is really interfering with my sleep. I've tried sleeping with a pillow between my knees but that doesn't help. I think it's just the pressure from laying on that side for too long that's causing the issue. Is there anything I can do about this or is it just something I have to live with for the next 5 weeks?