Diagnosis is generally made based on the clinical appearance of the sores. In ambiguous cases, a swab from the infected area may be taken for laboratory culture to identify the specific bacteria involved. This can help in selecting the most appropriate antibiotic treatment.