I would definately take your dog back to the vet. It could be there is another medication that will work better, or maybe the dog now has some kind of skin infection from scratching.

Either way a trip back to the vet is in order.