For men who are required to, or simply prefer to shave, studies show the optimal length to be about 0.5 mm to 1 mm to prevent the hair growing back into the skin. Using a beard trimmer at the lowest setting (0.5mm or 1mm) instead of shaving is an efficient alternative. The resulting faint stubble can be shaped using a standard electric razor on non-problematic areas (cheeks, lower neck).For most cases, completely avoiding shaving for three to four weeks allows all lesions to subside, and most extrafollicular hairs will resolve themselves within at least ten days. Permanent removal of the hair follicle is the only definitive treatment for PFB. Electrolysis is effective but limited by its slow pace, pain and expense. Laser-assisted hair removal is effective. There is a risk of skin discoloration and a very small risk of scarring.Some men use electric razors to control PFB. Those who use a razor should use a single blade or special wire-wrapped blade to avoid shaving too closely, with a new blade each shave. Shaving in the direction of hair growth every other day, rather than daily, may improve pseudofolliculitis barbae. If one must use a blade, softening the beard first with a hot, wet washcloth for five minutes or shave while showering in hot water can be helpful. Some use shaving powders (a kind of chemical depilatory) to avoid the irritation of using a blade. Barium sulfide-based depilatories are most efficient, but produce an unpleasant smell. Treatment
The simplest treatment for PFB is to let the beard grow.
PFB can make the skin look itchy and red, and in some cases, it can even look like pimples. These inflamed papules or pustules can form especially if the area becomes infected.This is especially a problem for some men who have naturally coarse or tightly curling thick hair. Curly hair increases the likelihood of PFB by a factor of 50. If left untreated over time, this can cause keloid scarring in the beard area.Pseudofolliculitis barbae can further be divided into two types of ingrown hairs:  transfollicular and extrafollicular. The extrafollicular hair is a hair that has exited the follicle and reentered the skin. The transfollicular hair never exits the follicle, but because of its naturally curly nature curls back into the follicle causing fluid build-up and irritation.A common polymorphism in a keratin gene (K6hf) has been linked to PFB, suggesting that it may be a genetic risk factor. This sequence change leads to an amino acid substitution in the highly conserved helix initiation motif of the K6hf rod domain. Carriers of the A12T polymorphism are six times more likely to develop PFB compared with people homozygous for the wild-type K6hf sequence. This suggests K6hf mutation structurally weakens the companion layer separating the inner and outer root sheath and increases the chances that a beard hair will in-grow. Prevention
The most efficient prevention is to grow a beard.