Ow to repare minor scratches to ceramic glass range tops?

have really hard black stains that will not come out of glass range top and some minor scratches does anyone know what I could do to get these problems fixed