In older versions of Yoast SEO plugin, you could indeed choose the option to exclude paginated pages from being indexed in search engines, using the
noindex robots directive:
However, they recently removed that option because Google said that pages set to noindex in the long term will be treated as though they were set to
noindex, nofollow. Meaning that links that only appear on paginated pages may no longer be getting the internal links they should be, which can have an adverse effect on onsite SEO.
You can read more about that here: https://yoast.com/pagination-seo-best-practices/
If you would still like remove the paginated pages from the search results, you will need to add, or find a plugin in that will add the following code within the pages
<head> </head> section :
<META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW">