Pelvic pain in pregnancy

It hurts to sleep on my sides and to roll over in the night. I get bad pelvic pain. I sleep with a pillow between my legs but is this normal? I'm 18 weeks. Will a pregnancy pillow help?