Skin should be clean and dry, with no active irritation or picking.
Shaving is part of what caused the problem. If PFB is active, the area should not be shaved. Running a razor over inflamed skin will continue the cycle and can lead to further irritation or infection.