Sex during your period?

Does it affect the length of the period?