Diagnosing viral infections is most commonly done by virological tests that look for the virus’s genetic makeup, or DNA, or for antigens, as with the flu, COVID-19, and others.
Another method for diagnosing a viral illness is by performing an antibody test. These are blood tests that look for an active or past infection of a virus. Detection of antibodies in the blood can indicate immunity against the virus.