Test the water params. If you can't, get a sample and have the lfs test it. If it's a good deal get it. If it's in the sand just vaccum it. On the rocks toothbrush scrape it off. But the params, well other here will say the same, its seems to be the number one cause.
Or that coral needs to have light and a good way to kill algea is no light. So that's out. Lower params and watch it die. If it has a sump woth fuge, look at the macro down there if its missin replace it with clean macro and it will compete, and eventually outcompete the algea up top. Or you can try snails and inverts, but that's slow. Go figure.