Help Could I be pregnant? Or UTI

I had sex with my boyfriend June 7th and he pulled out. He wasn't even close to cumming. But the past few days I've had to pee a lot, in the matter of 5 hours I can pee like 6 times. Also I've been having back pain and cramps. It seems like normal pms but my period isn't due for another 3 weeks. Also I've been having spotting. I was reading signs of early pregnancy and these match. However my breasts aren't sore or anything and I had my period the day right after so it wouldn't be soon enough to miss a period.  But I don't know