I have a DA (dual action) polisher from Harbor Freight and use various scratch remover or swirl remover products (cutting compounds) from Meguiars. Use the least "abrasive" product first, and if it does not remove the scratches, move up to the next abrasive product.
Here's an example:
https://www.meguiarsdirect.com/professional.html?cat=69
The scale on the left side of the label indicates it's capabilities.
If you are not familiar with using a DA polisher, there are many how to videos on YouTube.