You can use is_paged()
for this. This function determines whether the query is for a paged result and not for the first page. So ofcourse, in your case, you should use !is_paged()
.
Check out the docs here: https://developer.wordpress.org/reference/functions/is_paged/