The idea of vaccination is to stimulate white blood cells to produce antibodies or antitoxins against the pathogen. Therefore, for different pathogens, different vaccines are required.
Vaccination involves putting a small amount of a dead pathogen or an inactive form of a pathogen, into the body. Some people may suffer a mild reaction after vaccination but will not have the risk of developing disease in most cases.