Best medicine for cramps?

I have used Ibuprofen, Advil and none of it helps me. So do u guys have any recommendations