You definitely did the right thing by taking him to the vet right away.