Does it?

Does having sex a day before your period to cause it late? Stupid question I know but I'm late and worried