Generally when I catch my self staring at an attractive guy in a locker room I normally look away quickly, so they don't catch me staring.
Oh my god, same here if they're really attractive, haha. However, usually in public when I see cute guys, I try my best to completely ignore them but I can't help a few glances here and there..