TMI!!! please help?

So I'm 9dpo today. Woke up with period like cramps and pains but not due for period for another 6 days. Checked my CM and there was a glob of yellow on my finger. Kind of looked like a booger (sorry, ew) Never had this before. Is it a good indication of pregnancy? I don't think it's an infection cause I have no signs of a UTI. Any advice would be great.