Treat the cause
is a symptom of some underlying problem. The trick is to figure out what that is and treat it.
The answer is often diuretics ("water pills") but the cause will determine what kinds of diuretics or even a different treatment entirely. Definitely need to see your doc for this.
Answer assisted by David Miller, Medical Student