Different hacks work for different devices and technical comfort levels.
Apps like PGSharp (Android) or iPogo (iOS) are third-party versions of the game with built-in joysticks. These are highly susceptible to detection by Niantic's anti-cheat systems.
Use software like AnyTo or MocPOGO on a computer to override your phone's GPS via USB. This is often considered the safest method because it uses the official Pokémon GO app.
