Sorry to hear about the issues with the little guy!

I would definitely take him to the vet asap. Try soaking him as well to help remove any remaining dirt.

Best of luck!