The present invention relates to a method for preparing a cyclic peptide with antiparasite activity and anticancer activity. The invention also relates to this peptide as an antiparasite agent, for example in the treatment of toxoplasmosis and as an anticancer agent. The invention also relates to the use of this cyclic peptide for treating organs ex vivo before transplantation.