Shots to not get while pregnant.

Is it okay to get encephalitis shot while pregnant? Will it effect my pregnancy?