dc motor control using pid algorithm

how do i control dc motor using pid algorithm..
please help me....

Is Google broken again?
Try here