Algae is usually caused when too much phosphates or silica is present. Phosphates are the green algae. Silica is the brown algae. You can remove some phosephates and silica with different tools. But when you clean the glass the algae usually dies and thus produces more phosphates and silica making your tank have even more of an algae problem. So now your back where you started but with a greater algae problem.
HTH Good Luck!