If your dog has eaten plastic or something else they shouldn't have, feeding a bulky meal to try to pad out any sharp edges and help it to pass can be a good option. Asparagus is often used for this.