It's nothing you did. I'm a vet tech and we see it all the time. Do what the vet told you to do for 10 days, then he will probably have you stop for ten days and the do it all over again for ten more days. it's not a bad theing it happens and you did the right thing to take him to the vet so you can get him all fixed up!