What part of your legs is cramping???
First it is my quads, the lower part near the knee. Next the hamstrings will start. If I don’t stop and take a break it will get to the point that they will be both locked at the same time and I can’t even bend my legs – those are fun times!
Once in a great while my calves or hip flexors cramp too but that is rare.