Diagnosis typically involves a combination of medical history, physical examination, and diagnostic tests. Physicians may order blood tests, cultures of bodily fluids, or imaging studies like X-rays to identify the cause of the secondary infection accurately.