Need some more information - when does it happen? Does he/she always run back & forth in a certain place? At a certain time of day? One of my dogs will do this when she has to have a bowel movement; not sure if she's looking for the "perfect spot" on the grass or what, but she's pretty consistent with the behavior. My other dog just goes when he needs to.