I know dermatologists cure acne but what kind of doctor only cures acne rather than curing diseases?

A dermatologist. They take care of skin, including acne. Some specialize in acne, but since they’re medical doctors, they’ll know the other stuff too.