help?

I have very irregular periods but this time last month i was on my period, I woke up this morning and it hurt when i peed and there was the tiniest bit of blood on the tissue could this be a sign of pregnancy or a uti?