See a doctor
There are many causes of foot pain
, but without more history, it is difficult to even suggest what could be causing your pain.
If it has been present for more than a few days, or if you had an injury, i would definitely suggest seeing a physician. If you didn't have an injury, and the pain has been present for less than 48 hours, you could wait a day or two to see if it will go away.