Infinite page or scroll that is better from the point of view of SEO

Hi guys,

I'm working on a website that contains a lot of pages. What will be better according to the point of view of SEO Pagination or Infinite Scrolling?