In public restrooms, you may not have control over the lid. In such cases, focus on thorough hand washing and avoiding touching your face after using the facilities.