Black spots in your pool are usually caused by black algae. Generally, this can be a little tricky to eliminate. You will need to shock your pool and give it a thorough cleaning with a brush and vacuum. It will also require treatment with a specialist algaecide optimized for black algae.