I have a routine:
Two days before - deliberately healthy diet, proper sleep
First day and night: 30 -60mg codeine, full dose of paracetomal, 400mg of ibuprofen, tranexamic acid. Also very mild foods (no dairy), bananas, hot shower aimed at my tummy, DVDs and sleep. No uni and avoid going out (I end up with D&V usually)
Second - third days: 8mg codeine, full paracetomal, 200mg of ibuprofen, tranexamic acid, mild activity and mid day nap
Fourth-fifth days: paracetomal, tranexamic acid, normal food.
It usually helps me, but GP has said I can't take codeine /ibuprofen regularly for the next goodness knows how many years, not least since codeine makes me very giggly/happy/sleepy and can be addictive, I'm seeing gynae in two weeks to discuss the possibility of having IUS fitted (normally you can just get it after a blether with the nurse, but I have a multitude of health problems so would need it fitted under sedation at hospital). All the doctors I've spoken to have told me the IUS works wonders for problem periods.
There's also Northisterone (Utovlan) which I was prescribed, it lessens the drop in progestogen (sp?) I think and supposed to help period pain but made my ten times worse. Mefenamic acid also made me feel weird, don't like it.
If you don't fancy that, the pill's supposed to be helpful, as is evening primrose oil, vitamin B6.. A warm bath's always good, so's a hot bottle or a heat bag. One problem I have is vaginal pain (horrible) so I normally wrap a hot wheat bag in a towel and then sit on it.. It's always good to eat healthy and avoid letting yourself get bowel problems, because if you think about it anatomically you have the uterus and vagina here [-] [-] <-- and then the bowel there. So if the bowel's all blocked up (constipated) that'll only make period pain worse.. so always good to eat a high fibre diet (e.g. lots of granary bread, good cereal/museli, fruit and veg..)