had sex while on period

Hey i'm wondering is it safe to had sex while i'm on period? Thanks:)