I am Dr. Arun and will be helping you today.
If these symptoms (swelling in ankles and pain which goes up legs) were sudden to appear and have come up recently, a deep vein thrombosis (blood clot) should be ruled out a colored doppler study and D-dimer test.
Having said that, autoimmune hepatitis can cause these symptoms. This is because of protein deficiency caused by liver issue.
Swelling of feet and ankle on both the sides can be associated because of the following reasons also;
1) Venous valvular incompetence
2) Obstruction of the lymphatic outflow
3) Dependent edema which can occur because of the prolonged standing or sitting.
4) Congestive heart failure
5) Kidney diseases
6) Protein deficiency
Following measures are beneficial in decreasing or resolving the swelling:
1) Avoid prolonged standing or walking for long distances in a single stretch.
2) Whenever you sit; keep your legs elevated on a chair or a sofa or stool.Do not hang the legs, otherwise gravity will increase the swelling.
3) Exercises / physical therapy
a) Lie down straight and raise your leg and feet for 10-20 seconds. Repeat this for ten times (twice a day whole set).
b) When you sit; pull the feet towards you for 10-20 seconds. Repeat it for ten times twice a day.
4) Raise leg end of your bed by 6 inches.
Pain can be helped by;
3) A very mild massage; keeping the massage direction towards heart.
4) Electrical stimulation; this is a small device which physical therapy centers would give your for the home use.
Please feel free for your follow up questions.
I would be happy to assist you further, if you need any more information.
Thanks for using Just Answer.