What are the most effective ways to use sector analysis for stock selection?

What are the most effective methods for using sector analysis in stock selection?