animation for ai how to play two seprete animations

how can i play two different animations for my ai i have it to were he walks around so now i have a attack animation so how can i make it to were he plays two different animation to were he switches back and forth

if you need ill put the blend file up

Be aware that Animations can and must be set to Layers and that they have Priorities (When two Animations on one Animation Layer are playing, the one with higher Priority will be played).