You can change a sprite by using SetSprite(...). Everything else pretty much depends on what you want, and how you're implementing everything else. If you're following a tutorial, I suggest following it, except for when you need to swtich sprites, use the function above.