Companions, Familiars, and Pets
Animal companions and familiars are special benefits for certain classes or class feats. If you simply want a pet regardless of your class, you can take the Pet feat. You can have a familiar or pet, but not both.
Because animal companions function much differently, you can have both an animal companion and a familiar or pet.