Here’s what you need to know before getting a new pet.