Trying to play animation only once

I’m trying to make an animation that plays only once after you stop running but have no idea how to do that.