Well from what you are describing there can be a couple of conditions which can cause this sort of pain. The first one is that you could be having this pain because of the muscles in the feet, muscle spasms can cause intermittent pain which can sometimes worsen on movement. This commonly occurs due to dehydration or electrolyte imbalances. That is why drinking additional plain water and using electrolyte rich fluids would be useful. In addition try using OTC anti inflammatory medications like motrin or aleve which should be helpful as well. If that doesnt help then using muscle relaxants like flexeril or tinazidine would be helpful as well.
Another cause of this could be associated with peripheral arterial disease in which there is narrowing of the arteries of the legs due to deposition of cholesterol and other debris. This would be diagnosed on a clinical examination and a doppler ultrasound of the legs. Once diganosed the treatment can be with medications like plavix etc.
Lastly this can be due to a pinched nerve in the foot or even in the leg. A pinched nerve can cause sharp shooting or stabbing sort of pain. This would require a NCS/EMG test to be done if the pain is persistent and this would then be treated with steroid injections, medications and in some cases surgery.
I would suggest that you try the above measures and see if they help and if they dont help within the next 24 hours then contact your doctor.
Do you have any more questions?
Please leave a POSITIVE rating by clicking on the stars above, until you do i am not compensated for my time. You can continue to ask follow-up questions even after the POSITIVE rating. You can also ask questions from me directly by going on the link below,