If you are vaccinated against the Measles and you get the Measles, you can infect someone else because you have the Measles and it is contagious. It’s true of all contagious diseases. It’s why illegal immigration is dangerous. They can bring those diseases into the US.
Google delenda est