Horrible back pain 39w

I haven’t had any back pain until now. I am getting horrible back pain all over my back (middle, upper and lower). I’m trying different positions with the exercise ball and in bed and nothing is relieving it! It’s 3am and I’m tired but the back pain is keeping me up. Any suggestions?