Your profile is incomplete, so we don't know whether you are diabetic, or not, and which type of diabetes, if you are.
That information will have a bearing on the answers you receive...
However, a few things may also be affecting your symptoms.
- what medication you are on (for instance, Metformin may cause B12 deficiency and statins may, over time, give symptoms that affect the lower leg area)
- what diet you are on (for instance, keto and low carbing may affect electrolyte balance which can result in cramping, if not handled correctly)
- there are other causes of the pain you describe, from unsupportive shoes and over/under pronation to bad gait and posture.
I would suggest seeing a medical professional, if possible, along with investigating the various possibilities yourself.