This should be placed on the category page that you wish to be hidden. It includes the __HIDDENCAT__ magic word, so that does not need to be added to pages that already have {{hiddencat}}.

Criteria are given at Wikipedia:Hidden categories#Hiding categories and Category:Hidden categories.