Molecular testing is used to diagnose COVID-19. It detects viral genetic material from a nasal swab. Molecular testing is most useful early on when you have symptoms of infection. The ability to detect the virus decreases as you recover. By day 10 after the onset of symptoms, the ability to detect the virus decreases. After 10 days any virus detected typically does not represent a live/infectious virus.
Unlike the molecular test, a blood test for COVID-19 IgG antibody is not diagnostic for a current infection. The presence of an IgG antibody is a measurement of your immune response to a SARS-CoV-2 infection. It provides evidence of a previous exposure. The test is particularly useful in individuals who were asymptomatic or experienced mild symptoms and were never diagnosed with COVID-19. Most individuals will develop antibodies or seroconvert between 14-21 days post-exposure.