Search your deck for up to 3 Basic Pokémon and put them onto your Bench. Then, shuffle your deck.
It mimics the cries of other Pokémon to trick them into thinking it's one of them. This way they won't attack it.