Use this guide to replace the display assembly including the frame of your Galaxy Note8.
'''Before disassembling your phone, discharge the battery below 25%. The battery can catch fire and/or explode if accidentally punctured, but the chances of that happening are much lower if discharged.'''
This guide involves removing the rear glass cover, you will need replacement adhesive to reattach the back cover to the phone.
Opening the Samsung Galaxy Note8 will '''damage the waterproof sealing''' on the device. If you do not replace the adhesive seals, your phone will '''function normally''', but will '''loose its water-protection'''.