A group with at least six Yoyo Loaches is even better. Click here to read more about several groups of compatible fish. Size and Life Span. I'm glad you asked the question that way. The short answer is to get 3 Yoyo Loaches.
Lets discuss some other possibilities.
First you could buy a harsh chemical. I think there is a product called Snail-Rid that contains Copper Sulfate, a chemical that is notorious for being risky to use around fish. It will kill snails, but it is harsh, risky for other fish, and may contain copper sulfate. I can't quite remember. But I would not use it, and I would not recommend it.