@rcpolar Puppies are horrid at generalizing so he likely is potty trained at his house but is at a new house and doesn’t understand that he needs to potty outside at your house too.
You won’t potty train him in 2 days but you can certainly try to mitigate accidents and save your furniture...