The CDC recommends testing if you have been in close contact with someone with COVID-19, if you are a resident in a community where there is an ongoing spread of the virus, or if you develop symptoms of COVID-19.