If you have an associated back pain, consult your orthopaedic surgeon. Most likely due to nerve root impingement at L4-L5 level.
Another's probable reason could be planter fascitis, in which there is swelling in the connecting fibres of muscles to bones.
Next Steps
Consult your orthopaedic.