How to Potty Train a Puppy
This happens to a lot of people. Hopefully you are crate training. What you can do is to take him out on leash so he doesn't get distracted and start playing. Take him to the same spot and hang out there for about 5 minutes. If he doesn't potty, take him back inside and put him back in the crate. Wait about 10 minutes and then try again. Repeat this pattern until he potties outside. The point of this is to make sure he doesn't have an opportunity to make a mistake. Eventually he will potty outside and you can praise him and give him a treat (outside, not when he comes back in). Try not to give him any freedom inside until he has eliminated outside. Once he potties outside, you can give him some freedom but keep a close eye on him. He should soon develop a habit of eliminating outside and then it'll be easier to give him more freedom in the house. If you have trouble keeping up with him in the house, keep him tethered to you on a leash or use baby gates to keep him in the same room as you. Good luck and congratulations on your new addition! I'd get him in puppy class too.