If you want to handle the most recently poped-up window after the click, then do this:
driver.SwitchTo().Window(driver.WindowHandles.ToList().Last());
If you want to switch between handle popups, or go to the original/ parent popup, then they are done like this:
// For new popup or window
driver.SwitchTo().Window(driver.WindowHandles.ToList().Last());
// For the parent popup or window
driver.SwitchTo().Window(driver.WindowHandles.ToList().First());
//or
driver.SwitchTo().DefaultContent();