does sex delay period?

had sex two days before was due to start my period? can this delay it?