It depends on which pet you're after, since certain pets can only be found in specific areas. If you've already filled all four of your pet plots, head to the Pet Keeper (for example, the Witch Doctor in Kelan) and hand over one of your pets for them to hold. Once you've freed up a slot, you can either obtain a human pet by finishing a quest or go out and capture an animal.