Will my dog start going to the bathroom in the house because they do it here?

They only go to the bathroom inside at DGF because they see other dogs doing it here. Dogs are very smart. At home you have taught them to go outside.