Most fish won't touch hydra unless the fish are starving.
As others have mentioned, they aren't a big issue unless you want to breed fish. Then you treat the tank with salt (2 heaped tablespoons per 20 litres of water for 2 weeks) or copper to kill the hydra.