How do you get rid of swollen ankles, both; not injured?

Peripheral edema. Most important is close folow with your pcp ! evaluate and monitor blood pressure and ekg and cardiac functions. Also, want to evaluate and monitor blood flow to limbs. Watch dietary intake of high sodium foods that may contribute to fluid retention. Elevate limbs above level of heart during hours of slumber. Wear therapeutic compression stockings or garments.
Elevation. For swelling elevating your feet can help. If swelling is more than mild compression stockings work well. Water pills will help reduce swelling if it is from water retention. It is important to find out the cause of the swelling. If it is not going down you need to see your doctor.