Every vaccine carries some risk, some more than others.
You have to weigh up the potential benefit of prevention vs the potential risk of vaccine injury with each one.
The manufacturer of the vaccine as well.
I have had a few of them, but nothing for almost a decade, the last one was a tetanus shot after a wild dog attacked me
(never try to catch a wild dog that was raised in the wild and never interacted with people before)