Choose a creature type. Reveal cards from the top of your library until you reveal X creature cards of the chosen type, where X is the number of creatures you control of that type. Put those cards onto the battlefield, then shuffle the rest of the revealed cards into your library.
If you reveal your entire library and reveal fewer than X creature cards of the chosen type, you'll put the cards of the chosen type that you did reveal onto the battlefield and shuffle your library.
You can't choose multiple creature types, such as “Cat Warrior.” A Cat Warrior is both a Cat and a Warrior. It's affected by anything that affects either type and unaffected by things that affect non-Cat or non-Warrior creatures.
You must choose an existing creature type, such as Vampire or Cat. Card types such as “artifact” can't be chosen.