what does it mean when you are spotting and light cramping while pregnant?

Also when I used the restroom I seen blood clots