How to create animation like firing,reloading for your WEAPON?

hey guys ,recently I am making a shooter game and I have some weapon mesh, skeletal mesh. I want to create some animation for the weapon mesh, like pull the trigger or something, but can’t find how. Do anyone know how to create an animation for some sketal mesh that don’t have animation before?