Maintaining the water quality is the most important factor in keeping fish healthy. Check the water regularly and every few weeks carry out a partial water change.
This means siphoning 10 - 20% of the water out of the tank and replacing it with new water which has been de-chlorinated.