Vaccines are available to be given to pigs to prevent swine influenza. There is no vaccine to protect humans from swine flu. The seasonal influenza vaccine will likely help provide partial protection against swine H3N2, but not swine H1N1 viruses.
Reference: Facts come from the cdc.gov website on virus h1n1flu (swine flu)
We should be thankful that the swine flu did not spread very rapidly. it is not very deadly like Ebola but swine flu can still kill you.