I think you have sustained a bad injury to ankle and shin. It will take some time and i can assure you that this is not a fracture
yet soft tissue injury
also causes pain for long time. I would suggest you to take Brufen
tablet for pain relief. Also keep applying ice to the shin. It will be fine in two weeks.