If there aren't too many, it's easier to take some out every day until there are none left. If there are quite a few, you could always try anti-snail treatments (unless you have anything which might be affected, like shrimp). I always go with dropping a piece of lettuce or cucumber in, and removing it the next day - in which time it would have become covered in snails. This probably won't work on it's own - it's just a simple way to remove lots without adding chemicals or stressing other fish
To stop it happening in the future, you should either quarantine new plants or treat them with anti-snail or slightly salted water, and rinse them afterwards.
Good luck is all I can say - snails can be a real pain!