Different deworming medications target specific parasites. A fecal examination by your veterinarian will help identify the parasites affecting your dog and ensure the correct medication is prescribed. In some cases, a combination of medications may be necessary to treat multiple types of parasites.