It sounds like Black Brush Algae (BBA). Keeping CO2
levels steady and excess nutrient levels down is the best way to control BBA. You can use hydrogen peroxide to treat existing BBA. Using a syringe, inject the peroxide into the tank near the BBA. It should start dying in a couple days and you can scrape it off most things.