Talk to your doctor
You should discuss this symptom with your doctor and see if he or she recommends any studies.
The pain can be do to many possibilities including deep bone pains, muscle spasms, neuropathies, tendon sprains/strains, claudication.. Your doctor will know what to do. Keep a little diary of when the pain happens, how it is relieved, how long it lasts, and when it began.