Enablers ?

I’ve always wondered this but does having sex advance or hinder you period date like let’s say you had sex but you got your period sooner just because you had sex ?