Will the medication in the patch release more?

I am having leg cramps, would magnesium pills help?