Leg cramps?!

Hi all, I have been having really bad keg cramps (mainly on the back of my thighs) for the past couple of days. Any clue what I can do for them? And anyone have insight as to why it could be happening?