Pregnant and have to get flu shot?

Recently found out I was pregnant and my doctor wants me to get a flu shot to protect me and my baby. I've never had a flu shot and I've had the flu once in my life. I'm sort of iffy about it and was wondering if anybody else had to do this or wondering if I should deny it? Help?!