Only certain Wii games support the GameCube controller. It isn't a universal option.
To check whether a particular title is compatible, look at the game's packaging or manual and find the section on supported controllers. You may also see a small GameCube controller icon printed on the box, which is the quick visual cue that it will work.
Once you're in a compatible game, the manual will explain which GameCube button maps to which action, since the layouts don't line up one-to-one with the Wii Remote.