My enemy creation problems

Hey guys, still working on my platformer here, but now I have a different problem. Enemy creation, how can I call this only once, so I do not create thousands of enemies. I know the enemy creation function works, I just need to know how to call it only once. Thanks