I need to create a hooks. But I could not. Someone help me.
There are a few articles that will help you use hooks:
The article How to Display Calculated Data from a Collection demonstrates how hooks are used and how to use them. About Data Hooks is a general discussion of hooks, and the wix-data.Hooks API reference contains all of the details data hooks including many example code snippets that you can use in your apps.