Tipping incorrect on an irregular surface or actioning in a way that twists or rolls the foot might cause an ankle joint sprain. Sprains and the pain they create may range from mild to serious. RICE-- rest, compression, elevation, and also ice-- are used to deal with ankle strains. Nonsteroidal anti-inflammatory drugs (NSAIDs) can ease pain and swelling.