Generate and upload XML sitemaps to Google Search Console. This helps Search Engines to index faster and better.
Generate small sitemaps instead of one huge sitemap. Create an index of sitemap and list the smaller sitemaps in it for efficient crawling.
If your website is huge and complex, create XML sitemaps and submit to Search Engines.
Use XML sitemaps to feed Search Engines and HTML sitemaps to help Users navigate your site.
Avoid generating dynamic sitemaps, that cannot be read by Bots.