5months collie/rott wanders to other houses
She's a female, 5months, collie/rottweiler puppy that keeps going to other houses that have dogs! I live in the countryside so I let her go free. But when I am not looking or when I am doing something, she goes to my neighbour or other houses that have dogs.
So everytime I retrieve her back, I smack her (not hard) on the head, and chain her to the wall for an hour. Then I let her go. But after one or two days, she wanders off again!
I am so frustrated, what is a good way of dealing with this?