How do you put cheat codes for new super Mario bros ds?

There is no built-in way to add cheat codes for New Super Mario Bros, but you can buy an Action Replay DS Hacking Device for $20 and add cheat codes for almost any DS game. I added a link to the Action Replay website as well as some codes you can use for it once you get it.