The doctor is most likely correct. However if you worry the doctor may be wrong I would seek a second opinion or go to a dermatologist (skin doctor).
If you go with this doctor diagnosis, follow his treatment plan to the letter. If it does not work, get another appointment.