The GameCube does not have a built-in cheat menu like the NES or SNES Game Genie systems. To use cheats, you need external hardware or software exploits.
For most users today, the easiest path is a Wii with Homebrew Channel running Nintendont + GCT cheat files, which plays GameCube games with cheat support via USB/SD.