what you need to know before getting a dog