What could be wrong?

I posted this in another page, but I’ll posit it here too.

So my period was supposed to come today, but hasn’t yet. I’ve been having spotting for a couple days. Then I passed this clot while going to the bathroom. What could be wrong? I don’t understand why I passed a clot but I haven’t really been bleeding besides the spotting.