He’s talking about looking at a woman in such a manner as her appearance steers your thoughts to lust. He doesn’t mean you have to not look at a little more than 50% of the population! If you find a certain woman inspires you to lust, avoid her as much as is reasonable. Don’t focus your eyes on her without reason. We are to take custody of our MINDS, and the eyes and ears will follow.
It doesn’t mean you can’t look at a woman in a purely platonic or professional manner. If you find you cannot control your thoughts when around a particular woman, then you must not be around her. If this is a problem for you to function morally and normally in mixed company, talk with a good priest. He may send you to a contemplative monastery or a hermit colony!
The same goes for women who might not be able to keep their eyes off the men. Pray for self control and a pure mind. Keep away from men.
If you find this is how the enemy tempts you, by causing you to think in terms of sex whenever you see an attractive person, that’s not normal. You need help.
P.S. Women don’t like men who look them over, mentally undress them, and think of how it would be to “sleep” with them! If you do this to an honorable woman, she’ll be repulsed by you, think you’re a dirty-minded, creepy, sex fiend! She’ll warn all her girl friends and tell her father, brother, or husband about you. Then you’ll have opportunity to do penance from your hospital bed.
A woman who stakes out and stalks guys is even worse, She’s cheap, tasteless, tawdry, a tease, and a slut.
In short, both sexes must take command of their thoughts and keep their minds elevated to Heaven instead of the gutter.