Masturbate on your period?

Is it okay to masturbate on your period? If so, what do you do?