what to do to prevent ticks on my dog

I figure there's at least 5000 of you out there with dogs.We just got our first dog and now that summer is coming my wife found a few ticks on him.She freaked! Any ideas on some preventative maintenance?

View attachment IMG_0551.jpg

Another thing,what's the best way to get the little bastard out if he's dug in?