To insert the code just hit cheat list. Then paste the code in either gameshark or cheat depending on which code you have. Then hit ok and ok again. Then hit save list. If you have any other questions just ask. Some people are just so arrogant and cant keep their rude remarks like "that is not relevant to rom hacking" to themselves.
By the way you might have to get a master code or "M" code to make the code work.