Differences between HPLC and UPLC

How can we decide to analyze a sample in HPLC or UPLC ?
Which factors define the selection of instrument?