We'd really need more details about your tank setup, maintenance and your water chemistry. In general, algae is often promoted by excess nutrients in the water and too much light. Increasing the volume/frequency of partial water changes and reducing the lighting duration usually controls algae. I would not use a commercial chemical treatment for algae as I feel they can be too hard on the fish.
forum community dedicated to tropical fish owners and enthusiasts. Come join the discussion about species,breeding, health, behavior, aquariums, adopting, care, classifieds, and more! Open to fish, plants and reptiles living in freshwater or saltwater environments.