How do you use the spawn behavior?

I wanting to use the spawn behavior but I don’t know how it works plz tell me how to use it?!