(HealthDay News) — Leg swelling typically occurs from fluid buildup or inflammation, says Mayo Clinic.

It can affect any part of the leg, including the foot, ankle, calf or thigh. Even for non-emergency problems, prompt care is still recommended.

To minimize leg swelling, consider:

  • Restricting the amount of salt in your diet.
  • Putting a pillow under your legs when lying down.
  • Wearing elastic compression stockings.
  • Giving yourself breaks, especially if you need to sit or stand for long periods.

Seek emergency medical care if you are also having chest pain, difficulty breathing, feeling faint or coughing blood.