Definitely get him to the vet to rule out a UTI. That's what it sounds like to me, a UTI. If you want to get out the pee smell, go and get Nature's Miracle and pour it directly on the stain before throwing it in the wash.

Good luck and let us know how you make out.