Infinite Scroll - Page to page - Problems

I’m testing infinite scroll because I want to be able to go from one page to another on the scroll but I don’t have to go about it well. Someone has already set this up and could illustrate the process for me. thank you