This is not something that can be solved in two minutes.

It is your responsibility to not allow him to go to the bathroom in the house. Set up a schedule and allow him plenty of opportunites to go outside and when he's in the house either crate him or put a leash on him and tether him to you.