How do i make a smooth animation?!

I want the animation “enter” for the first time
plays and then the animation “idle_a” and best of all when canceling the animation “exit” thanks