This is a paradox. If the barber shaves himself, then he must not shave himself (because he shaves only those who don’t shave themselves). If he does not shave himself, then he must shave himself (because he shaves everyone who doesn’t shave themselves). The situation is logically impossible.