A material will change from one state or phase to another at specific combinations of temperature and surrounding pressure. Typically, the pressure is atmospheric pressure, so temperature is the determining factor to the change in state in those cases.
Names such as boiling and freezing are given to the various changes in states of matter. The temperature of a material will increase until it reaches the point where the change takes place. It will stay at that temperature until that change is completed.