How to create Gameobject, Creature

I want to create custom script. But I can’t understand how create gameobject or creature on position x,y,z. Is there any example or someone can help me?