How can I use candlestick patterns for entry and exit signals?

What is the best way to use candlestick patterns for entry and exit signals?