Diagnosis is usually made based on a clinical examination by a healthcare provider. They may scrape the lesions to examine the fungal cells under a microscope. In some cases, a culture or biopsy may be necessary to confirm the diagnosis and rule out other conditions.