How can you be sure that vaccinations work?
The simple answer:
Through laboratory, animal and human studies, and the scientific analysis of surveillance data.
A more in depth answer can be found here.
Here are some examples for various diseases:
There are lots more examples here.
Vaccinations. They really work.
Page reviewed June 2016.