Mix fresh lemon juice with Neem oil and spray your yard with this mixture to prevent these parasites. If you have access to a Neem tree, cut tender leaves and spread them on your dog's bed. You can also spray your yard or garden with a mixture of water and Neem oil. You can also buy a commercial Neem oil spray.