Thanks for writing your query.
Night cramps in the legs are mainly due to deficiency of Vitamin E
You can take supplements containing Vitamin E.
Hot fomentation and application of pain relieving gel will be beneficial.Muscle relaxant
can be taken along with pain killers for severe pain
Also have fresh fruits and drink at least 8-10 glasses of water daily.
If the problem persists, get yourself clinically examined and investigated.
I hope this is helpful to you.