The present invention relates to the use of an antifungal agent or of a compound capable of binding to a mannoprotein and blocking the binding of said mannoprotein to an endothelial cell receptor, in the preparation of a pharmaceutical composition for treating a disease associated to an unwanted cell adhesion. Likewise, the present invention also contemplates methods aimed at identifying a compound potentially useful for preventing and/or treating a disease associated to an unwanted cell adhesion, for predicting the probability of a patient suffering from cancer to suffer from metastasis and for designing a personalized therapy for a patient suffering from cancer.