Shaving down there

Any advice on how to stop razor bumps and ingrown hairs they make me very self obvious during sex ,I always explfoliate and use shaving foam and still manage to get red bumps