When we catch a cold, influenza, or COVID-19, the body starts to produce antibodies against them, so the body becomes immune for a period of time. That means one should not catch them again whilst there is the presence of immunity. Being vaccinated during this period of time seems to be useless.
Imagine someone caught COVID-19 one month ago, should they get vaccinated later?