Is he in a confined area or does he just have free roam when you go to bed? Puppies need supervision & lots of care & patience! My Jaxson is 13 weeks old & fully house trained to go outside! You will be tired but you need to take him out every 30-60 minutes to use the bathroom SUPERVISED! Praise him when he goes & give him a treat! Then bring him right back inside so he can understand why he is outside. If you play with him take him out, you see him eat or drink you should take him out not too long after, if he naps take him out! You should get a play pen or crate & leave him in either with just enough space for him to sleep & walk around to stretch his legs! Take him out right before you go to sleep & right after you get up! IF he whines/barks he may be telling you he has to go out. Watch for signs!! I can tell when Jaxson has to go #2 cause he has a certain look/walk! That's really all I can say and remember he is a baby & it's not his fault for going in the house when your sleeping cause maybe you don't hear him barking or whining or he can't hold it. Try puppy pads so you have an area he can go and you don't step in a surprise! Also one more thing puppies have a short attention span like toddlers/babies so he may pee on the living room floor at 9pm and you wake up at 7am he already forgot he went on the floor so you getting up and yelling and punishing him isn't going to work! It'll just scare him. Good luck & hope you find some useful tips to try with your little guy.