You go to the shop, and press A 3 times in 2 seconds, or until the shopkeeper looks shocked/surprised/scared etc, and then you put in your code.
Just for future reference, could I suggest you look around the threads for the answer to your question before adding a new thread? I understand that you are new to Tamatalk, so its just a note for the future.