Scratch the paint that says “Made in Italy” or “Made in Japan. " If the paint comes off, then the sunglasses are likely fake.
You can also look for the color code. The color code should have five digits/numbers, which can be all letters, all numbers, or a mix.
Keep in mind that fake sunglasses can be put into real packaging.
If ordering from Gucci online, make sure that your package has not been opened or tampered with in any way.