As per given information this appears like transient exersional synovitis of both ankles. You need to reduce weight bearing on both ankle, keep it in elevation with one pillow under it. Apply crepe bandages from down to up for 18 hours a day. Continue ice pack fomentation 15 min for 3 times a day for 5 days.
Next Steps
Please consult in person to orthopaedist for medication
Health Tips
Take rest for 3-4 days with elevation of feet