This invention relates to use of pharmaceutical compositions in preparing pharmaceuticals for treating diabetic ulcer in limb or on body surface, or in preparing medical dressing. The pharmaceutical compositions consist of (A) 3 to 15% by weight of edible beeswax and (B) 85 to 97% by weight of sesame oil extract of Huangqin, Huanglian, Huangbai, earthworm and poppy capsule, based on the total weight of the pharmaceutical compositions. In the sesame oil extract, each of Huangqin, Huanglian, Huangbai, earthworm and poppy capsule is in an amount of 2 to 10% by weight of dry raw material based on the total weight of sesame oil. This invention also relates to a medical dressing for treating diabetic ulcer and corresponding medicine box enclosing the said dressing.