Open the Cheats menu. You can also press Ctrl + C if the game is running. If you have a ROM directory set, you can right-click on a game in the list and select "Edit Cheats". The game must be on the list of supported ROMs in order for the Cheats menu to work. This only really applies to homebrew games or ROM hacks.