Pagination can be handled in multiple ways using Selenium and the steps to implement one of the widely used techniques in a professional framework is as mentioned below:
Additionally, it is assumed that the element is clickable.
driver.get(application url);
Thread.sleep(10000) //time in ms
JavascriptExecutor js = (JavascriptExecutor) driver;
WebElement element = driver.findElement(By.linkText("Required Element"));
js.executeScript("arguments[0].scrollIntoView();", element);
element.click();
Thread.sleep(10000) //time in ms