If you sprain your ankle, it is important to follow the RICE protocol: Rest, Ice, Compression, and Elevation. You should also seek medical attention if the pain is severe, there is significant swelling, or you are unable to bear weight on the affected ankle.