Thanks for writing your query.
After reading your post it seems that you might have got soft tissue injury
I would suggest that you should first go for an X-ray of your foot(AP, Lateral and Oblique view) and get yourself examined clinically.
Painkillers like Ibuprofen
twice daily after meals along with an antacid
40 mg will help in decreasing your pain.Cold
compress can be helpful for initial 1-2 days of injury.
Local application of pain relieving gel will be helpful.
Avoid putting pressure on the injured foot.
Do not wear hard shoes till completely cured.
I hope this is helpful to you.