You can boost your immune system by getting plenty of sun, getting plenty of Vitamin C and by eating healthy and getting plenty of exercise.
Also getting the flu vaccine can help prevent you catching the flu virus so make sure you're up to date on your flu vaccines as well.