The present invention relates to the use of Paecilomyces carneus for the prevention and/or control and/or eradication of phytoparasitic nematodes, migratory and sedentary endoparasites belonging to families Anguinidae, Aphelenchidae, Aphelenchoididae, Criconematidae, Dolichodoridae, Hemicycliophoridae, Heteroderidae, Hoplolaimidae, Iotonchidae, Neotylenchidae, Pratylenchidae, Sphaerulariidae, Tilenchidae, and Tylenchulidae: Suborder Tylenchina; Longidoridae: Suborder Dorylaimina; Trichodoridae: Suborder Diphtherophorina. The compositions and processes of the present invention are useful in the prevention and/or control and/or eradication of phytoparasitic nematodes that infect and/or infest the vast majority of cultures for animal and human consumption, while optimum conditions are created in the soil for improving crop yield, with the option of getting organic products.