How to index a website ?
To index a website you must go to a search engine console like Google search engine console and submit the address of your website.
Indexing a website may take a long time and maybe even a month, so you should submit a ready sitemap rather than waiting.
To do that, website owners usually use one these two ways :
>If you have purchased Business plan in Wordpress then just download the plugin Yoast SEO for free. It will automatically create a sitemap as you edit your website.
>IF you haven't , then go to one the sitemaps generating websites below to create one for yours online for free :