Thanks for writing to us.
The pain you had near your knee is likely to be due to a sudden muscle spasm. This is commonly seen in electrolyte imbalances, Vitamin B complex deficiency, thyroid
hormone disturbances or dehydration
. You can start with appropriate supplements and see if it improves.
I hope this information has been both informative and helpful for you.
Dr. Praveen Tayal