Vaccine when your 23-26weeks?

Kim • First time momma.
So some nurse told me I would need a vaccine when I'm 23-26 weeks pregnant, but not sure if I should since my doctor hasn't mentioned anything to me. And my mom said she never had any vaccines while she was pregnant. Anyone know?