After completing a water pressure test, crew was resuming drilling operations. When making a connection, some drilling foam (drill detergent) bubbled up the center tube and splashed into the helper's face. The foam sprayed under his safety glasses and irritated his right eye. Eye was washed out and prescription for eye drops received. Helper returned to work.