Agree with esoxolucius, water changes are the healthiest option.
I also use heavily planted sump/refugiumss, o reduce nuisance nutrients, but understand they are not for everyone.
The plant to fish ratio, needs to weigh heavily on the plant side to even make a dent in nitrate and phosphate.
Algae scrubbers might help on the phosphate side.
In my 180 tank, with only about a dozen medium size fish, I use a 125 gal planted sump (the one below)




The plants are Vallisneria, water lilies, mangrove trees, and floaters like Salvinia, and water lettuce.
WIth this technique, and regular large water changes, my nitrates remain undetectable,

I also employ tropical terrestrial plants, like dieffenbachia and others dangling their roots in the sump, and main tank to help suck nutrients like nitrate, and phosphate directly from the water column.


I find at these densities, compared to fish stocking, plants use nitrate almost as fast as it is produced by the fish.