Thanks for writing your query.
After reading your post, it seems that your pain in your foot and lower leg is due to over exertion of leg muscles due to exercise.
You should give proper rest to your legs.
Doing hot fomentation will be beneficial.
If the pain is severe, you can take pain killer like Diclofenac
50 mg twice a day after meals along with a muscle relaxant
like Chloraxazone and an antacid like Omeprazole
Vitamin B12 supplement
will help in treating your pin prick sensations.
I would suggest that you should get yourself examined by an Orthopedic surgeon.
To know more about the cause of pin prick sensation, get yourself investigated for :-
1. Serum Vitamin B 12 and Folic Acid
2. Serum Uric Acid.
3. Thyroid profile
I hope this is helpful to you.