You can avoid this completely. This is a trick I discovered accidentally and have been using for a few years now.
As soon as you step out of the shower after shaving, apply Aloe Vera gel (make sure it is fragrance free – because the fragrance could cause some burning). Aloe is a natural cooling and soothing agent which forms a protective and healing barrier for your skin.
Since I have been using the Aloe, no more red bumps or irritated skin. It’s simple, inexpensive and effective.