How can I prevent the new indexing bug from creating useless pages on Google?

Hi @DariusWS I do not know how to DM you but I can not wait any longer. I am doing optimization and just when I started growing it heated me. And I see no solution. I have hired an agency they repeatedly crawl but it doe not help. I am short before using robots.