Does sex make period start earlier?

dx

I had sex yesterday and was set to get my period later this week but last night before bed I started. It’s say 27 and usually my cycles are 30+ days.

So just wondering :)