sex and period

Can having unprotected sex a few days before you start your period effect when it comes? Like will it come sooner or a few days late?