Masturbating on period

Can I do that or is it bad?