This will give you an idea of the cost of owning a dog, but vets in California are a lot more expensive than in other areas of the country.
The Cost of Owning a Dog
His retained baby teeth can be removed during his neuter. As the others said, he probably has an ear infection. He'll need bloodwork before his neuter. I'd guess upfront for all this in California you are looking at close to $500.