Dogs cannot rid themselves of worms, and the infection can cause serious health problems. Contact your veterinarian immediately if you believe your dog may have worm infection.