Contractions??

H

currently 40 weeks today I was having regular contractions, coming every 4-5 minutes that lasted about 45 seconds, from around 2am to 6am this morning and now they have stopped. I also had a bloody show right before this started. What does this mean?