Parasite Problems While bacteria could cause stomach upset in your pet your biggest worry should be roundworms.
The eggs of the roundworm (Toxocara larvae) can be left behind in soil by other dogs or wildlife and then ingested by the earthworms.
Worse yet, if your dog gets roundworms he could spread them to you.