You cannot type cheat codes directly on a Wii console.
Research thoroughly before attempting Wii modding or cheat devices.