A method for treating onychomycosis and skin conditions such as urushiol-induced allergic contact dermatitis comprises coating the affected nail or skin with a solution comprising an at least a primary diamine with modified diphenylmethane diisocyanates and a carrier solvent/reactant.