In a skin biopsy, the doctor removes a tiny piece or all of the area that's affected. This skin tissue is then treated with a special chemical to preserve the sample and sent to a lab, where an expert will examine it under a microscope to determine what it is. Once that is known, your doctor can provide the right treatment for you.