I use VBA, but the system should be similar. Look around the various options for some sort of cheat console. Once you have opened the cheats, look up a code for a cheat device it supports and put it in. It should activate instantly.
But make sure the regions match. I once put a US code in my EU rom of Dawn of Souls, and it wiped the .sav file.
Community content is available under CC-BY-SA unless otherwise noted.