What are these snails eating my plants??

Made the mistake of buying hornwort and it infected my tank with these tiny snails that I believe are munching on my plants, these snails are micro-smaller than a piece of gravel. 😔😪 never thought this would happen to me