How can I use moving averages to identify trends?

What is the best way to use moving averages to identify trends?