How to cut dogs nails?

cut only the tips of the dogs nails or else you could harm the dog, or ruin the nail.