We might be talking about different things, but many vaccines are potentially useful post-infection particularly for slower diseases, as it doesn't necessarily help the actual infection, but can help prevent it from spreading to new cells.
It's highly dependent on the disease, how it spreads, etc. But it is a thing.
It's highly dependent on the disease, how it spreads, etc. But it is a thing.