Hurting and im a ftm

Daysha

31 weeks today and I have horrible back pain, pelvis pressure, thigh pain, and a major headache . It won't go away. I've literally sat up for 30 mins crying because it hurts so bad. This pain has kept me up all thru the night and I can't sleep no matter how I lay or even rocking myself. What should I do or what is it