I HIGHLY suggest getting a crate and leaving him in it when he can not be watched. But be sure not to leave him it too long, only use it during the day when no one can keep an eye on him and also at night.
How old is he?
What breed?
Has he been cheked by a vet to be sure he doesn't have a medical problem??
Do you take him out right after he's eaten?
Does he poop or pee (or both) in the house?
You may want to limit his water intake to only when you're home and are able to take him out to potty a little while after drinking.