The invention relates to an externally-applied medicament for treating ulcer, which is characterized by comprising the following raw materials by weight: 500 to 1,500 milligrams of 
vitamin C tablets, 180 to 300 milligrams of 
borneol, 120 to 160 milligrams of 
vitamin B12 tablets, 100 to 500 milligrams of 
aspirin enteric-
coated tablets, 30 to 70 milligrams of 
vitamin B1 tablets, 30 to 80 milligrams of 
vitamin B6 tablets, 80 to 160 milligrams of 
vitamin B2 tablets and 1,200 to 2,000 milligrams of 
alum. A preparation method comprises the following steps of: 
grinding the raw materials into 
powder, sieving with a 200-mesh 
sieve, mixing the sieved medicinal 
powder and 1,000 to 2,000 milligrams of natural 
indigo powder and 200 to 1,000 milligrams of 
yunnan baiyao powder uniformly, and putting the mixture into a 
bottle for sealing. The medicament has excellent effect of relieving pain, short treatment course and high 
cure rate on the treatment of the ulcer, can be used for treating cervical 
erosion and mosquito bites effectively, and is an ideal externally-applied medicament for treating the ulcer.