Go into the shop. When it shows the shopkeeper, press A three times (or more if your buttons aren't "worn in" yet), and the shopkeeper will maked a shocked face. Then, quickly press in one code. Keep doing it until you have all of the items form the codes (which can be found in the codes section here on TT).
Remember, if you use the code again, you'll have to buy the item. Hope this helps!