Vaccines have the virus in it.
Not the Pfizer and Moderna.
The Polio vaccine used a dead Polio virus.
Did you get vaccinated against Polio?