Clean the res, then clean it with some H202...
If it got on your roots then you'll need to use H202 in your res afterward. If you're using organic nutes, then you'll need a product like Clearex from Botanicare... I am sure there are others... But I'm new and not too familiar with the anti-algae products.
And yeah... Keep the light out!