Period like pains

kay

How long does it take from having slight period pains to going into labour?

Or is it just the baby putting pressure on my stomach? I'm nearly 37 weeks