Hard to give specific advice without knowing your technique and what gear you’re using, but it is generally a good idea to wet, warm and scrub the skin before starting to shave.
When shaving, make sure the razor isn’t tugging on your hairs, which can be done by pressing a couple of fingers on the skin behind the razor. Try no to shave against the direction of the hair growth on the first go. I shave three times for my sensitive areas, along the growth direction, then 90 degrees and lastla 180 degrees (against the growth direction).
Changing your shaving cream can also help, for some, finding a shaving cream with aloe vera can help.
If you’re using a safety razor, changing to a slanted bar can also do wonders.
After the shave, I would recommend an after sun gel, preferably with aloe vera in it, don’t go for after shave directly, unless it is a very good balm.
I use dperson/samba, which is both simple and comes with usage examples.