early pregnancy or irregular period?

two weeks ago i had a short period before a vacation, the following week i was being sexual with my boyfriend where precum may have gotten into me? this morning two weeks after my period i am spotting. im a teenager and i have irregular periods, last month my period lasted for 2 and a half weeks. im scared what is wrong with me why am i spotting