Masterbating

Is it safe to masterbate on your period?