The best way to prevent West Nile virus infection is to avoid mosquito bites. Community spraying for mosquitoes may also prevent mosquito breeding.