To submit an XML sitemap to Google Search Console, follow these steps:
Log in to your Google Search Console account.
Add and verify your website if you haven’t already done so.
Go to the “Sitemaps” section and add the URL of your XML sitemap, such as “yoursite.com/sitemap.xml.”
Click the “Submit” button to submit your sitemap to Google.
Verify that the sitemap has been successfully submitted by checking the “Sitemaps” section for any errors or warnings.
By submitting your XML sitemap to Google Search Console, you can help Google understand the structure of your website and improve its visibility in search results.