help!

so i got my period three days ago and it has already ended when it usually will go for another 2-3 days. it was super light as well. i did have sex 2 days before i got my period. would that have anything to do with my period ending so early?