Is okay to masterbate while on your period?

Madison
I've just been some type of way recently and I really need some relief is It okay to materbate while on your period?? Sorry for the question