Make a object spawn

This question is probably one of the most used question, but since i havent found an answer ill ask it.

How can i make for example a prefab spawn when clicking a button? Thats the only thing i want to know i can handle rest. Hope i can get an answer.

How to add objects to a scene via button click

Look at mirkobon’s answer.