To understand what exactly is causing your edema, your doctor may perform a physical exam and ask questions about your medical history. The process might determine the underlying causes of your condition, and in some cases, X-rays, ultrasound exams, magnetic resonance imaging, blood test, or urinalysis may be necessary to find out what’s exactly going on with your body. For treatments, edema will normally go away on its own, particularly if you raise the affected limb above the heart. In more severe cases, you may need to be treated with medication that will help your body expel excess fluids in the form of urine. Your doctor may determine which medication is a sound option based on your medical history and condition. Long-term management centers on treating the underlying cause of the swelling. Movement, massages, elevating the limb, compression, protection, and reducing salt intake are home remedies that you will want to explore with your doctor.