You can see a list of available spells by selecting the "Spell" icon and pressing the A Button. Once you've selected the spell you want to cast, use the Control Pad to move the arrow cursor in front of a monster or party member, and press the A Button.