Need best method for no leaks at rearmain and oil pan

Hit me up with your best surefire no leak methods for sealing pan at front & rear plus the rear main. I've tryed several methods and always end up with a leak whether its big or small. For you guys who have zero leaks, what did you do?