My hips hurt so bad

I am not sleeping well because I wake up with my hips burning and so painful. I have been waking up on my back which is not good in the third trimester. I have tried pillow between the legs, body pillow, pregnancy pillows. It is not working. What else can I do??