The A Button is used to search and confirm. Also, outside of battle and menus, once you obtain the Running Shoes, you can run around with them through towns, forests, caves and essentially anything outside of battle (except houses and other buildings) by pressing and holding down the B Button.
But if you select an item in a menu and don't want to use it, press B to go back. That is to say, once you select an attack in battle, you can't press B and go back - it's too late. This only works if your selection didn't make something happen. In the various in-game and battle menus, if you select something and you don't to commit to that selection, press B to go back to the previous menu. The B Button is known as the 'cancel' or 'back' button. When you do that, press Select at any point out of battle to use said item. It has a few in-game functions, but it's most important in-game function is when you set an item to the Select Button. The Start Button's primary function is to call up the main menu anytime when you're not in battle.