How to make enemy spawn at a pre-selected location

I have my enemy set up to follow the player using the nav mesh agent. I have also set up a gun that fires a basic sphere as a bullet. Both have rigidbody and collider components. When I fire the gun at the enemy, it fails to do anything. I want to shoot the bullet at the enemy, and, when it collides with it, I want the enemy to appear in another section of the map.
Please explain how I should go about doing this, as I really only know some basic scripting (I’m still learning).

Thank you.

When the bullet collides with the enemy just use transform.position = desiredPosition; the desired position being a Vector3 where you store the x, y, z of where you want it. If you have a GameObject in the scene you can make a public variable and drop it in the inspector.