How to switch the animation to hold items for a third person

Hello,
I need to change the animation of my character when taking an item (the item does not just appear in the hand, but the animation itself changes). I made a separate animation for this and now I need to make a switch to mep them.
I don `t know how to implement this.
thanks