* The Power of Electricity: The fences are electrified, and the only way to pass them is by using an Electric-type Pokémon. You can either catch an Electric-type Pokémon prior to entering the Gym or use an Electric-type move on the fences.
* Pickpocket the Gym Trainer: There's a Gym Trainer standing near the fences. You can defeat him, and he'll drop a key item that allows you to pass the fences. This item is called a "Static", and it's a unique item that only works on these fences.
* The "Electric Terrain" Trick (Generation VIII onwards): In Pokémon Sword and Shield, you can use the "Electric Terrain" ability to temporarily disable the fences. This method requires having a Pokémon with the "Electric Terrain" ability or an item that creates "Electric Terrain" on the field.
No matter which method you choose, be prepared to face Lt. Surge's powerful Electric-type Pokémon once you reach him!