period and sex

Is it bad if you have sex and are on your period .?