Does WordPress create a sitemap by itself?
Yes. Starting with WordPress 5.5, the core software builds a sitemap index without a plugin. WordPress will expose a sitemap index at /wp-sitemap.xml, and that index lists the sitemap pages for the site.
Sitemaps are created by default for all public and publicly queryable post types and taxonomies. The robots.txt file will reference the sitemap index so that it can be easily discovered by search engines.
Keep the sitemap address in your notes, so you can submit the same address again after a theme change. WordPress builds the index from your published content, so new posts appear in it without extra steps.
How do I submit the WordPress sitemap to Google?
Google's documentation says to keep the file in the right place: We recommend putting a sitemap at your site root. WordPress already places the index at the root, so you only need to submit that address.
Open the Sitemaps report in Search Console, paste the URL into the Add a new sitemap box, and click Submit. Confirm the address opens in a browser first, because a sitemap that returns an error cannot be read by Google.
Google's guidance is that the sitemap should be easy to reach, so a public address with no login is the right setup for the index. After you submit, check the Sitemaps report on your next visit, look for the status and the number of URLs discovered, and fix any error the report names before you resubmit.
What blocks WordPress from ranking?
The most common blocker is the visibility checkbox. Check the Discourage search engines from indexing this site box to ask search engines not to index this site. WordPress then adds a noindex, nofollow robots meta tag to the head, so search engines are asked to stay out.
The same setting also affects the sitemap. Sitemaps are disabled if the site's visibility setting discourages search engines from indexing it, so a missing sitemap often points back to that checkbox.
Give a change time before you judge it. Visibility changes can take a while to reach search results, so note the date you unchecked the box and compare results after several days. A staging copy with the box checked can be copied to the live site by mistake, so compare the setting on both.