Bleeding at 35 wks 5days

Hi Moms

I've had period pain and back pain and hard tummy that comes n goes for two o days now. I am not dilated. This morning I went to wee and it was red and brown blood in the loo and when I wiped.

Happen to anyone else and what was the cause?