If you are unwell, it is better to wait until you have recovered to have a vaccine. A cold or other minor illness is not a reason to delay your vaccine.
If in doubt, discuss this with the person giving you your vaccination.