Doctor Answers (5) on Ankle sprain
As a standard rule, after sprain of ankle for 4-6 weeks (grade dependent) walking is not advised which is actually to help in healing. But if I am right you tried walking very early and hence the swelling.
Give it rest. Ice for 5 min twice a day and avoid walking (avoid weight bearing on sprained ankle) and have foot elevated. Do these for a week and let me know the status.
Wishing you a quick recovery.