Throw the Player from the Enemy away

Hi my english isn’t so good but I have a Question. When my Player jumps on the Enemy, I will that the Enemy throw the Player after 2 seconds away. How can I make it, that the Enemy throw the Player away?

Generic steps (since your question is very generic)

  1. Detect when the player jumps on the enemy (OnTriggerEnter may work)
  2. Wait for two seconds (Coroutines will help here, you can also build a custom timer)
  3. Move the player away from the enemy (transfom.Translate or rigidbody.AddForce)