A comparison with rabies vaccine may be useful here.
On the scope of the entire human body, the virus usually enters first, before the vaccine is used.
However on the scope of individual tissues and cells, the vaccine is often the first on the scene, prepping your cells before the (sneaky, slow) virus makes its main attack.