Use warm soapy water to wash your gear....a quick rinse is fine if you're headed back out, but soap is needed to get the scum off before storing.
Its a lesson that's easy to learn the hard wayI agree. While I'm at the beach, I just rinse the gear off with fresh water, but when I get home, I brush everything thoroughly with warm soapy water before storing.