Take off the output line for the transmission and put it in a empty 5 gal pail. Then get a clean pail and fill it with the proper type of fluid. Dip the intake line in there and start vehicle. Put tranny in neutral and let it run till the fluid coming out is clean fluid. That will flush out the entire system.