You can automatically check for and fix nonmanifold geometry using mesh>cleanup and check the box for nonmanifold. I also check for edges with zero length and faces with zero surface area and lamina faces and click the normals and faces radio button.
I like to highlight affected geo first to see the problem bits and then run again with repair.
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675