In case of ankle there are many ligament (rope like materials that keep ankle stable) structures get damaged in case of twisting injury. Usually it takes at least 3 to 6 weeks to fully heal. So it's better to avoid walking or excessive weight bearing on that leg for that period
Next Steps
If the pain is serious, I advise you to get an MRI scan, it can show ligaments also. Keep leg elevated on a pillow or another chair. Apply ice, don't put any ointment or Zandu balm etc over the area