Does Sex Interfer With Period?

So when I first lost my virginity I technically missed my period ? I usually start at like around 20th of the month but I ended up starting on the 31 and into the next month, did having sex Interfer with my period ? Or was it just the stress I had from waiting on my period ?