Maybe you are mistaking pain for cramp. However if it is cramp do the above mentioned things. Magnesium level drop could also bring on cramp.
But if it is pain, observe if you have pain going up or coming down stairs. This could then be an issue under your knee cap or other meniscus issues.
Answered2020-10-08 03:56:32
Let others know if this answer was helpful