is masturbating while your in your period ok?

i’m super curious because i feel really horny sometimes and i’m not sure if masturbating while on flow is ok 😑🤷🏼‍♀️