How to show only first, second, third Custom taxonomy conditionally

How to show only first, second, third Custom taxonomy conditionally