You apply to a diocese or order first. If they accept you, they send you to a seminary for training. After ordination, the diocese or order assigns you to a parish, mission, school, whatever.
A diocesan Priest will remain in his diocese for his whole career (unless he is sent for further education). An order Priest will go wherever the order sends him.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.