The Game Genie sits between the console and the cartridge. Insert the game into the Game Genie the normal way, plug the Game Genie into the NES, then close the lid.
If it doesn't boot, the connection is usually the problem — push the Game Genie in further, or reseat the cartridge, until it reads.