How do you use cheats on Pokemon platinum for ds?

You can get an action replay. All you have to do is add cheat codes, which you can find on google.