algae and cyano are the results of nutrients, carbon dioxide and light.
In order to prevent algae long term IMHO it is best to introduce things to consume the nutrients like macro algae or an algae turf scrubber. to start out the undesirables.
Short term and assuming desirable algae is...