Welcome at HCM.
It looks from your detail that most probably you had sprained your toe or there is a fracture
.This should be confirmed by having a x ray
of the affected par.Till then you should avoid bearing weight on affected limb.Continue taking a good analgesic
Hope this all will help you.
With best wishes.