Almost all long term diabetic , type one or type 2, will suffer leg pains aka as nerve pains. To prevent further nerve damage or pains, one must maintain blood sugar less than 140 at ALL TIMES and the hgA1C must be less than 5.6%, I was there, Now I don't have such pains no more. Good luck
Ask your doctor for a Diebetic Foot Check to find out if the pain is related to Diabetes (i.e., Peripheral Neuropathy). Medications are available only to manage the nerve pain associated with the condition.
If it is from the diabetes, the best way to treat it is by achieveing excellent blood sugar control. This iwll also prevent other complications.
There are drugs which can help with neuropathy.
Please see your doctor for this.
There are dozens of physical foot pain reasons; poor fitting shoes, sprains, fractures, muscle strains, and so on. However, if you have uncontrolled and unmanaged diabetes and are also experiencing a tingling or burning sensation in your foot/feet, the cause could be from Peripheral Neuropathy, damage to a nerve or group of nerves. If left untreated it may lead to amputation. Go see your doctor for an examination. If necessary you may be referred to a Podiatrist and/or Neurologist for further evaluation. Good luck