Google has Googlebot going over
your pages, one link at a time. That way, the search engine knows what
your site consists of and knows what to include in its search results.
Googlebot might encounter errors though, without you noticing. Even if
you don't have a lot of technical knowledge, this is something you can
keep tabs on. Here's a clear and easy how-to for connecting your Yoast
SEO to Google Search Console, so errors won't go unnoticed!
How to connect Google Search Console and fix errors »