Flu shot

Is it a good idea or not, my friend said she got really sick for an extended amount of time when she got one when she was pregnant. I have an appointment for one and my doctor said I should get it but I don’t want to end up being more sick.