The best way is to get your self vaccinated for this ailment. The next best way is to keep away from infected people and swine flu parties. Personal hygiene and washing hands frequently can help. Don’t touch your nose and mouth after touching items that have been used by the infected person in particular without washing hands properly.