Toothpaste is the old household trick, and it does sometimes work on light surface scratches. Use plain white paste only — the gel and whitening varieties contain particles that can make things worse.
Spread a generous amount over the scratch, rub it gently in straight lines from the centre outward, then rinse it off with lukewarm water and dry the disc with a soft cloth.
This is a gamble. It can help with shallow marks and it can also add fine scratches of its own, so it is not something to try on a disc you cannot replace. For anything valuable, a professional resurfacing service is far safer and usually inexpensive.