The present invention relates to the method for the illness of the quinoxaline-type-piperidine compounds of the replacement of formula (I) or formula (II), the composition of quinoxaline-type-piperidine compounds of replacement that contains significant quantity and treatment or prevention such as pain, described method comprises that the quinoxaline-type-piperidine compounds with the replacement of formula of significant quantity (I) or formula (II) is administered to the animal of these needs.