>>1951183Rubber seals, good grease and ventilation/drain hole in the bottom. Also not washing the bearing seals directly with hose pressure water and not riding on salted roads.
If your frame doesn't have a drain hole at the bottom of the bottom bracket tube, the bottom bracket is much more likely to corrode from water that gets in from the seatpost.