How do you noindex a page with Yoast SEO?

Edit the page and open the Advanced section in the Yoast SEO sidebar or metabox. Set the option that allows search engines to show the page in search results to No, then update the page. Yoast should output a noindex robots directive and remove the URL from its XML sitemap.
Open the live source or inspect the response headers to verify the directive. Clear page, server, and CDN caches if the old value remains. Do not block the URL in robots.txt before search engines can crawl the noindex directive, because a blocked crawler may keep the URL indexed without seeing the instruction.
Noindex does not protect private information. Anyone with the URL may still open the page, and other sites can link to it. Use authentication, access controls, or a private content system when the page must be restricted. For obsolete content with a replacement, a redirect or a proper removal response may be more appropriate than leaving a permanent noindex page.