How do I make my dog stop peeing everywhere?

I have a male Chihuahua, he's not a puppy anymore and he can't come in the house without peeing everywhere. As soon as he comes in he goes around the whole house and sprays everything. I want him to be an indoor dog but I can't handle all that nastiness. He won't pee in his crate & I do take him out to pee... show more I have a male Chihuahua, he's not a puppy anymore and he can't come in the house without peeing everywhere. As soon as he comes in he goes around the whole house and sprays everything. I want him to be an indoor dog but I can't handle all that nastiness.

He won't pee in his crate & I do take him out to pee before he comes in the house but he'll do it again indoors regardless. HELP.
4 answers 4