The diagnosis is often evident from history and physical examination. A swab of the pus may be obtained.