Diagnosis typically involves a combination of patient history, physical examination, and sometimes laboratory tests. For example, patch testing may be used to identify specific allergens in contact dermatitis. In some cases, a skin biopsy might be performed to rule out other conditions. Early and accurate diagnosis is crucial for effective management and prevention of complications.