There are various reasons as to why your pencil breaks. One of them could be pencil quality. But in most cases, try not to apply so much pressure when sharpening it. Doing so will prevent the pencil from breaking.