Unaccustomed over exertion or stress on your limbs can cause pain, which is expected.
Next Steps
Increasing your walking distance gradually would help your body adjust. For now rest and if required over the counter pain ointments can be applied.
Health Tips
If the pain continues or worsens, better consult a physician so that he can examine your foot.