Well if your talking about the green stuff it's easy to kill with hydrogen peroxide(3%) that you get at the drug store. Me I just take the frag out and squirt H2O2 on the algae and let the frag sit out in the air for 2-3 minutes. then wash with tank water, put back in tank. I'd try to remove as much of the algae as I could within reason(you don't have to get all of it) before I squirted the H2O2 on.
You have to kill the "roots" of the algae so you may have to do this more than once. Just look for new growth after first "treatment.
Oh, that algae is now introduced to your tank it might start growing somewhere else. I ALWAYS do the H2O2 to every new frag before I put it in my tank just to be safe.(I learned this the hard way)