I Cannot Provide Medical Advice
It is extremely dangerous to give human medications to animals without specific veterinary guidance.
Why
Human and animal medications are formulated differently. Some ingredients are harmful to dogs. Scratching can be a symptom of many conditions, and treating only the symptom without addressing the cause can be ineffective or harmful.
What to Do
Contact your veterinarian immediately. Do not self-medicate, as this can be extremely dangerous and could lead to death. Your vet is the only one qualified to help.