Masturbation may alleviate cramps and other PMS symptoms.
Orgasms induce your brain to produce feel-good chemicals that calm your body and mind. It may assist with period cramps since muscular strain and worry can aggravate cramping. Of course, not every woman will benefit from this, but if it helps you, go for it! Whatever it takes to make you feel better.
Other period relief methods include having a warm bath, resting, going for a stroll, laughing, and drinking lots of water if masturbation does not help. Every month, water bottles are a lifesaver for me.