What kind of algae?
Do you know where you got it from?
String algae and free floating algae - Yes, canister or sump filter for string algae and a diatom filter for free floating algae...followed by an over-sized UV light.
Algae on glass has to be scraped off first so the filter can pick it up, then what gets thru the filter will be killed by the UV light.
You won't get rid of all algae but it will definitely be tolerable, then you can try to maintain it by limiting light, reduced feeding, addition of plants etc etc etc.
Dr Joe
.