Help for making voice recognition software

I need to design a voice recognition software for my organization. I need to know few basic steps to make a voice recognition software.Does it compares the user voice with the saved voice of user in software or it uses frequency and pitch of sound to recognize ? Any professional with past expierence with any voice recognition software please help.
