Does doing an animation after another canel the first one

if you were walking and then start shooting, does it cancel the walking animation, if it does, how can you avoid it