How can we switch window in windows automation?

How can we switch window in windows automation?