Show other objects on animation.

I’m creating an attack animation for my character(for game). but how can i show other object(for example sword) for that animation only and then hide the object after the animation is done.

If your doing that in the 3D viewport - “H” = hides selected, “Alt H” = unhides