What I do is say stand, stay while I am walking and turn to face the dog. Do not move away, but treat the dog. Gradually step back a little, if they move step into them and tell them to stand stay. Don't be too quick to move away until they are steady on the stay.