Treatment for edema depends on the cause. If the edema is mild, it may go away on its own. You can help mild leg, ankle or foot edema go away by elevating your legs higher than your heart while you sit. You should also avoid sitting or standing in one position for too long.