I think I might be pregnant

Me and my boyfriend had sex without a condom I'm having every symptom include spotting but this morning I got my period 2days early well at least I think I did should I take a pregnancy test