Thanks for providing more information.
As you describe,possible causes may include ?Tendonitis??Tenosynovitis??Metatarsalgia??Nerve compression.
You can try some self care measures which may include
First 24 hours,apply ice on affected area 5-10 minutes 2 times a day.
After 24 hours,do gentle massage with muscle relaxant ointment like diclofenac sodium and apply warm compresses with a heating pad.
Wear ace bandage.
Take OTC Motrin 200-400 mg every 4-6 hourly.
Elevate your leg.
Avoid physical activity for a while.
Physical therapy will also be helpful.
You should Make sure that shoes fit properly. You need to Select and wear the right shoe for specific activities.
You should avoid walking barefoot, which increases the risk for injury and infection.
If you have severe pain then X-ray of foot should be done to rule out fracture.
If your symptoms'll persist then consult an Orthopedist for further evaluation and management.
I hope this helps.
Please rate me highly (Star 5 Great Service), if you are satisfied with our conversation.
If you have any further query then feel free to ask.
Bonus and positive feedback are highly appreciated.