How t o make sure the enemy is spawn at specific time?

Hi guys im able to spawn the enemy like i define but it just keep on spawning non-stop how do i define it properly?

if (Time.time <= 1.0f) {
            // spawn
            GameObject g = (GameObject)Instantiate(teddy, transform.position, Quaternion.identity);
 
            // get access to the navmesh agent component
            NavMeshAgent n = g.GetComponent<NavMeshAgent>();
            n.destination = destination.position;
			
 
          
        }
		
		if (timeLeft <= 5.0f && Time.time <=1.0f) {
            // spawn
            GameObject g = (GameObject)Instantiate(teddy2, transform.position, Quaternion.identity);
 
            // get access to the navmesh agent component
            NavMeshAgent n = g.GetComponent<NavMeshAgent>();
            n.destination = destination.position;

For this kind of thing, a timestamp is a way to approach the probelm. Rather than look at elapsed time, look at the future time you want something to be done:

timestamp1 = Time.time + 1.0f;

Then you just check the timestamp against the time:

if (Time.time >= timestamp1) {
// Do something
timestamp1 = Time.time + 1.0f;
}

If you have multiple events, then use multiple timestamps.