This might sound silly, but when I got my min pin Charlie he was 2 years old not neutered and not house broke. The first thing I did was get him an appointment to be neutered. When I wasn't home I crated him, and when I was home I kept him on a leash (even in the house). He was with me at all times. We went outside often and he was rewarded for going potty outside. We gave him praise and a small treat. It worked great. He does get ceated still at night, but he doesn't mind, in fact he likes it, That's HIS bed.

Good luck. We would all like to know about you and your new dog (along with any animals you may already have).