To prevent freshwater tank contamination, sanitize the tank regularly using bleach or approved sanitizing solutions. Flush the tank with clean water before use and ensure proper storage of the RV when not in use to minimize the risk of contamination.