Could i be pregnant ? advice plz

so I had unprotected sex with my boyfriend about two weeks ago, after we had sex I spotted for about 12 hours and then started my period about 4/5 days later. however the period I had was shorter and WAY lighter than usual. just wondering if I should test around my next period or if I’m in the clear since I had a period?