With the history that u mentioned, probably a minor ligamentous injury of the ankle, which needs ice packs application, crepe bandage and limb elevation if there is swelling, can take some anti inflammatory if needed.
Next Steps
if there is persistent pain even after 5 days visit a hospital for an xray