Nanomaterial-based vaccines or immunomodulation can be used to prevent SARS-CoV-2 infection or even to boost the immune response during infection.