Mutt hooks

I am new to using Mutt email client, so could someone please explain how to use hooks in mutt. Some examples would be nice, and I would also like to know if you can use hooks to filter incoming messages. Would procmail be better suited for that task?