Other treatments can focus on the cause of the pulmonary edema. For example, if a person with kidney failure has had too much salt or fluid, they can have dialysis to take away the extra fluid and salt.