Don't use razor to trim. You should use scissors to cut the hair till very short, then only use razor to shave your pubic area and your cock.
Otherwise, you can also use a comb (like cutting head hair) to buffer between your skin and the scissors and cut the excess hair away. That way, instead of shaving it clean off, you will have a neater and short pubic hair.