Therefore, it is important to change the conditions such as the concentration of the above compound of an impurity in a source gas to be introduced, the dose amount of total ions, or the like and stabilize the conditions after the change, when the same ion doping apparatus is used, the source gas is introduced into an ion source in an apparatus in the condition of heavy doping to generate plasma,