I get grossed out by plenty of things, so I have to consciously evaluate whether it's just gross, vs actually a problem. If it's just gross, I can consciously then decide to just get over it and have a nice swim (or whatever) regardless.
EDIT: Here's a couple links about what I'm trying to get at:
Study on disgust and the spread of disease: https://royalsocietypublishing.org/doi/full/10.1098/rstb.201...
Article on digust wrt the spread of disease: https://www.nytimes.com/2012/01/24/science/disgusts-evolutio...