It all depends on the Android phone u own. every phone has a different procedure. Softwares like kingo root , etc can root mostly every android.
plug in your phone
click "one click root"
if kingo root doesn't root your phone try searching google with your phone's name and model no.