You can buy dedicated CD or DVD cleaning products, however instead of forking out for these, use white toothpaste or metal polish instead. Before you deal with the scratch, ensure the CD or DVD is ...
Note that the reflective layer is actually near the top (label) side, so if the top side of the disc is scratched or pitted, or you can see light through the scratches, the data is physically gone, ...