COVID-19 is diagnosed by a test. Regardless of vaccination status, anyone who was exposed to COVID-19 or experiences COVID-19 symptoms should take a test.
More information on COVID-19 tests