I'm not quite sure. I myself never put a passcode on but my best guess is to reset the iPod or iPhone if you want another chance. If that doesn't work or you want another alternative you can always go to an apple store and they might be able to restore it.