Sex and periods

If you have sex the day your supposed to start your period how long normally till you start?