Answer by
Nemo (29)
It sounds like the Planaria worm. They are harmless unless you are breeding your fish, because the Planaria will eat the fish eggs. If the gravel is dirty from uneaten fish food, or if you have recently added a new fish to your aquarium, that is likely how they appeared.