Human: How can I tell if I have a bacterial infection or a viral infection? Assistant: 
To determine whether you have a bacterial or viral infection, your doctor will likely take a swab of the affected area and test it in a lab. The results of this test will help to determine the type of infection you may be dealing with.