How do I play an animation?

Just getting into my first game, but I can’t seem to get the animations working.

I have the nav-mesh and the nav system working for the ai zombie, and I have the animations, but I cant figure out how to use them.

I need to play the idle animation when the game begins,
the move animation when the player is in range of the zombie,
and the attack animation when the zombie enters the players “strikezone”
Could someone help we with the scripting for this?

Thanks!

PLease help