If you're asking how to enter cheats in Rome: Total War, you'll need to open the console, known as the "Romeshell."
To bring it up, press the key located above the Tab key and to the left of the 1 — in other words, the key that produces the ` or ~ symbol. Once the console is open, you can type in your cheats.