Sex and periods

Can having sex the night before your period is due, can it delay it??