That depends on which algae it is. Green Dust Algae, like diatoms, usually goes away on it's own within about a month and nerite snails will eat both diatoms and GDA.
Green Spot algae is almost always caused by low phosphates. I dose extra phosphate when I see it and that gets rid of it pretty quickly. Nerite snails sometimes eat GSA, too.
Planted tanks will always have algae issues if phosphate and nitrates are to low. It's the one type of tank where zero nitrates and phosphates are a bad thing. It took me years to understand that. lol