Hide content after going to page 2 of archive, show content when back at first page

There is an example on the wordpress codex. (link). Basically you use an if statement on the variable $paged which stands keeps track of the current archive page.