Praziquantel will treat gill flukes and tape worm.
Levamisole will do thread/ round worms.
Flubendazole might do all of them.
Treat all the tanks at the same time to prevent cross contamination.
Treat every week for 4 weeks.
Salt will treat gill flukes too. Use 2 heaped tablespoons of salt per 20 litres (5 gallons) of water. Keep salt in tank for 4 weeks.