Position your dog in a desired position, give the stay command, followed by the release word and a reward to teach the release word.