Every two to three months is the sweet spot—or every month if you have pets, kids, or a roommate who drinks directly from the spout. (Shame on them.)
If you notice a funky smell or slimy feel on the nozzle, don’t wait. Clean it immediately—like you’d grab a fire extinguisher if your toaster sparked. Hygiene is not a suggestion.