There are many algorithms that can be used for clustering. For example, k-means clustering and agglomerative clustering are two popular algorithms.