How can I fix sitemap errors detected by Google console tool?

I have 90 pages with s error, The error says "Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead. Anyone help?

thanks