How to move character on quiz game?

Hello! I am a beginner in Unity and I’m creating an action quiz game wherein if the user gets the correct answer, the main character will automatically move and attack the enemy. I already have the animation on running, but the character is running in the same place, so the problem is how to automatically make the character move forward to the enemy if the answer is correct? Thank you for those who will answer!

hi,
how move objects in unity :

  1. Transform.Translate

  2. Rigidbody.MovePosition

  3. Rigidbody.AddForce

make your pick, depends on your needs , read documentation first