We lean into several different techniques to find potential points of customer friction: user feedback surveys, watching your existing traffic to see what kind of user engagement your site has, UX design reviews, and a few other more creative methods.
The important thing to note here is that it's all educated observations grounded in experience. Unless we spot bugs or broken elements, there's no guarantee that our observations will lead to improvements until we form hypotheses and validate them with A/B testing.