in car pan gasket change

ive heard to 3m the gasket to the block, right stuff on both sides of the end rubbers,then put the pan on.put them all on the pan,then put the pan on.some say use black rtv,some say none at all.ive researched a lot and it seems everyone has there own way.i did it last time with engine in the car,it was not that bad,but the corked moved with black rtv on it and of corse it leaked.as you know its a real pain doing it in the car,i just want it not to leak this time.thanks