Safely met other dogs while out on a walk

We often see other dogs while we are out and about. We want to go over and “say hi”, but need to do it in a way that does not scare the dog.