Most people that are new to water gardening don't think about water chemistry. The best way to prevent problems is to test your pond water regularly for elements that are toxic to pond fish.
These chemical imbalances in a water garden usually have no odor or visual signs until it's too late. Another great preventative measure is to follow routine pond maintenance schedules for spring, summer and autumn. A common thread in all of these is the regular addition of beneficial bacteria.