You can buy some scratch remover paste that you can get at Walmart for $12.00 a tube and if the scratches on your glasses are not too deep then you can use the scratch remove to buff out the scratches on the glasses.
You can also use non abrasive toothpaste to remove light scratches from glasses by buffing them out with a cloth and moving the cloth around in circles while buffing the scratches for at least 10 seconds.
Then after buffing the glasses with toothpaste you can rinse the toothpaste or the scratch remover off with cold water and dry them off by wiping them.