Example of incomplete dominance would be mixing two heterozygous traits such as one white flower and one red flower which would result in a pink flower
and example of codominance Would be when two alleles of the same gene are represented, like if a fully white and fully black chicken procreated to produce a spotted black and white chicken.
Because you body is introduced to the virus, it is familiar to it and can build up an immunity to the weakened form so when the actual virus invades, your body know what to do.