Welcome to HCM forum
These type of back pains can be the sign of first stage of labour as you are having discomfort.
As you are 39 weeks pregnant , you should visit your OBGYN
who will examine you and see the dilatation and effacement of cervix
and decide whether you have to be hospitalized or not.
Best wishes for both of you