that’s a really big question and actually I think you need to read some documents
if you want to import animation ,you can read this
and then you have to controll your animation, decide when and how to play an animation,so you need to create an anim blueprint
So I think actually you can first find a video about building a custom charactor with animation.You can find it on youtube.