Public bone pain? 31 weeks

Samantha

So I'm 31 weeks and I've had usual symptoms and recently had increased vagina discharge no discolouration and midwife checked for infection n I'm all clear but for a few days possibly a week I've been having pain in my public bone it hurts mostly when getting in n out of bed but felt many other times during the day. I have no clue as to what this is as its my first but could this be a sign of early labour my family do seem to go into labour at 32-34 weeks and my partners family were all premies so I have no clue if tht contributes to this pregnancy I'm super worried if it could be my body getting ready