There are lots of preacuations that you are going to consider upon doing the distillation set up. Never heat the system that is totally closed from the outside atmosphere to prevent explosion, never heat to dryness, add boiling chips to reduce bumping, control the rate of heating so not to overheat to avoid bumpng, and some of these preacuations depends on the type of systems you're dealing with. anyway, you can check it with some organic chem lab book. regarding on the separation of 2 miscible and 2 immiscible liquids, if they are immiscible, maybe you can separate it via separatory funnel..no need for distillation, and it depends also to some physical properties of the system your're dealing with, like viscosity, but if they are miscible then do it via distillation. if you have an initial idea of what are these 2 liquids, try to examine thier boiling boints, if they have a very close boiling points, that they most likely form an azeotrope mixture, you can do a fractional distillation, but if they have a wide difference in boiling points, simple distillation will do. Temperature should remain constant during distillation because any small change in temperature will affect the temperature of the liquids, and to prevent any loss of the mixture that you want to separate.