You put the gameshark disc into the system, and you type in the code. You then take out the disc, and put the game disc in there. The cheats are then added to the game.
Good bye everyone, it's been fun!
Special thanks to ED_, superman4u, and Cross Stinger
Credit for the Siggy goes to shadow slayer