How do I go from one point to another? (GPS used for my AVG)

Would I have to use some sort of "for" loop to get the servo to turn the wheels gradually? I've never really used for loops before, and It's been recommended that I use them....and how would I determine the angle? I know how to get the distance (distance formula---the square root of (x2-x1) squared + (y2-y1)squared----)