There is no scientific evidence to support the use of garlic as a treatment for hookworms in dogs. While some people believe that garlic has anti-parasitic properties that may help eliminate intestinal worms, there is no reliable research to confirm this. In fact, garlic can be toxic to dogs in large amounts and can cause a range of symptoms, including vomiting, diarrhea, abdominal pain, anemia, and even death. Some studies have also suggested that garlic can interfere with blood clotting and may increase the risk of bleeding in dogs. If you suspect that your dog has intestinal worms, consult with a veterinarian for proper diagnosis and treatment. Your veterinarian can recommend safe and effective medications to eliminate the worms, as well as provide guidance on preventing future infections.