Thanks for writing to health care magic.
There could be several causes of such pain. It could be from the bone or ligaments or because of some nerve damage
A physical examination is required to identify the cause of the pain.
Further certain investigations like X ray
of the foot may be required to arrive at a diagnosis.
Continue to ask further queries as required.
Hope this helps.