Diseases of the joints, such as arthritis, can also affect the joints of the ankle and foot, leading to swelling of the involved areas. Treatments for swollen ankles and swollen feet depend on the particular cause, but anti-inflammatory medications are often used to manage the pain associated with strains and sprains.