Pains in back and stomach

I am 37+2 i have had back aches and pains all night and found it hard to sleep the pain comes into my stomach and it is rock hard they are not consistent yet and just feel like light period cramps, any advice?