The pop-ups can be irritating but it hardly will effect your script. The pop-ups are generally notifications, ads etc.
Even though if you want to remove or disable to pop-up notifications then you can use the following code:-
ChromeOptions options = new ChromeOptions();
options.addArguments("disable-infobars");
WebDriver player = new ChromeDriver(options)
Hope this helps!