You can use medications called diuretics, which are water pills that help the body get rid of excess fluid.
There are also other medications that help the heart work more efficiently, as well as some with other functions, such as the excretion of glucose in the urine, which can also help get rid of excess fluid.