movement

I made my actor face and run left when i press left and the same thing with the right my question is how do i make it so my actor stops the running animation and swiches to the standing animation when i stop pressing left. thanks in advance 
