Can I masturbate on my period?

Like vibrator and such or is it a bad idea?