If you roll your ankle inwards then can't stand on it for 10min now have bruise ans small swelling its painful but I can walk on it what have I done?

Ankle sprain. Sounds like an ankle sprain. The canadians tell us that if you can walk on it and don't hurt when pressing on y the bones then you don't have to get x-rays unless it persists.