Every child cries when he/she gets the shot. It doesn't hurt a bit, you only get scared of the needle.
Kids get lots of shots. I don't know which one did you have.
EDIT: Yeah, I'm afraid of the needles too. I just looked away, when I got the shot. It doesn't hurt.