Actually, it isn’t the way you do it, many people have no issue with shaving, but there is an entire category of people with a “tendency for ingrown hair”. I am one of them. It doesn’t matter the technique. It is a type of skin and hair.
So I trim, but do not shave or wax or do anything that gets the hair tip completely hidden.
Otherwise guaranteed to have red bumps for several days.