What to use to stop tranmission fluid from leaking,when

IF I drain it first I pull the slip yoke out and then take out the speedo housing but no matter how much comes out there will be a bunch more when you lift the engine and trans out so have a pan handy and a friend to make sure he keeps it where it needs to be as you lift the assy out.