How do I download an Excel file from SharePoint

I want to automatically download Excel files from SharePoint.
Is there a good way?

Thank you.