What decides the kind of vaccine side effects you get?

What happens if you have previously had severe side-effects? Will your side-effects be on the milder side with the second dose?

What decides the kind of vaccine side effects you get?
What happens if you have previously had severe side-effects? Will your side-effects be on the milder side with the second dose?