Period and sex?

If you don’t have sex in awhile , and then you have sex .. with it throw off your period?