Hip pain during sleep

Taylour
I'm 16w4 and just this week, I've been having terrible pain when I sleep! It's a combination of constant round ligament pain along with a deep ache in my hips while I'm sleeping. I've been putting a pillow between my legs/knees to sleep but that has only helped a little bit. I wake up constantly in pain, needing to switch sides. Is there anything else I can do about this annoying pain? Right when it's getting a little better with having to pee 5,000 times a night, this hip pain hits. I'm losing so much sleep!