How to Disallow Robots.txt Url page 1 page 2

Good day, everyone!

Because there are so many products in Collections, Google indexes 1 page twice as page 1 and page 2. How do I disallow the collection’s pages?

I hope I could explain.