If your ankle is broken, you won't be able to put any weight on it without immense pain. If you can walk, it's probably just a sprain.
sprained or maby a hairline fracture, or clean break,
i have a sprained ankle and I can walk my friend patrick's ankle got hurt and he could not walk we had to lift him home, a broken ankle is not necessarily swolen but when you hold up your it automatically drops down.
Check if your ankles swollen and feels hot. Or get a Dr. to check it