It is likely to have taken a hitch with your fish (or live plants if you have bought some.)
Once one snail has come they rapidly multiply believe me!
The best way to get rid of them is to immediatly take them out if you find one close to hand and watch how much food you feed the fish!
Good luck.