TMI spotting

37-38 weeks and started spotting. Thursday I was 2 cm dilated. What’s it mean?