This article is from the Aquaria: Disease, Algae and Snails FAQ, by Elaine Thompson, Thomas Sasala and George Booth
The most effective control of algae in a planted aquaria is via algae
eating fish. It is especially critical in the set up of a new tank to
make sure algae does not get established before the plants have had a
chance to establish themselves. For this reason and to help the
biological filtration get established, it is recommended that some
hardy algae eaters are added right away.