What are some effective ways to prevent catching the flu virus?

What are some effective ways to prevent catching the flu virus?