It is better to wait until you are over symptoms like that.
Several reasons come to mind. If you are ill, you need to be home, resting, drinking fluids, and getting better. If you are ill, and if you have a fever, they won't give you the vaccination. If you are ill you could be infecting many many people by being out in public spreading the germs.