If you sprain an ankle and it hurts and is a bit swollen but not broken, you have a few ways of treating it. The usual thing to do is that you can put a cast on. This will unfortunately limit the blood flow for the region and make the muscles around it fade away. It will mean that you need to spend some time getting them strengthened once your ankle heals.
You could also just let it naturally heal. Do a very light exercise to strengthen the area, for example with some light toe exercises. This will keep the blood flow good and ensure the surrounding muscles are strong.