The medical specialty that is concerned with ulcers is helcology.