Flu shot while pregnant?

My OB mentioned me getting a flu shot since I will be delivering during flu season. (January 11) I've never had the shot before and never had the flu. I know our immune system is different while pregnant. Do most people get the shot? Or no? I'm nervous about it.