Broken Pixel phone? Google Repair Center has a fix for you
https://www.cnet.com/news/broken-pixel-phone-google-repair-center-has-a-fix-for-you/
Don't want to mail it in? Google officially recommends uBreakiFix and Puls in the US.
The Repair Center currently supports the Pixel, Pixel XL, Pixel 2 or Pixel 2 XL. Google is expected to announce the Pixel 3 at an event on October 9.