I try to avoid taking any sort of medication.
I second the Libra heat patches. I also like the cute animal heat packs from Daiso. A cup of tea or hot chocolate and hot bath/shower.
I found exercising regularly days or week before you know it is coming actually helped the most – I felt virtually nothing when it did arrive and it was the best! I use apps to track the approximate time when my period is due. I wasn’t even moody at all and I actually felt quite positive and chirpy which most people wouldn’t expect.
For emergencies: I found that if I made a bridge using my body (i.e. palm and feet on the floor and your back should be arched – sorry, that sounds really funny but imagine it as a yoga position) really helped alleviate the pain instantly. I call the London Bridge but I’m sure there is already some yoga position name for it and I’m just reinventing the wheel.