Hello,
Every advice depends on assesssment clinically, so, u need to see immediately physiotherapist!
In general:
swelling, redness,hotness .............needs ice pack! ,elevation and may be bandage,
do planterflexion and dorsiflexion within limits of pains thats going to improve muscles work,remove waste products...,
during sitting postion avoid dangling of your feet,standing for long time,sitting for long time..,
rang of motion exercises for knee,hip and the sound lower limb should be checked,
u need gait patten correction.....
hope this could help