How would I insert/animate a walk animation for a NPC and use it for when the NPC walks?

Hi everyone! I am currently posting a bunch of posts on my piggy thing which are getting resolved (thanks) but this might be the last piggy post.

How would I make my piggy have a walk animation and a fall animation and make the piggy use it?