Your problem seems to have originated from the inadequate treatment of the first episode. Ligaments need some time to heal and if subjected to further injury during that critical period, healing gets impaired. However, in your case the treatment should be towards avoiding any further injury by preventing the twisting of ankle and it can be achieved by wearing a brace (commercially available) which can also be worn inside your shoe.