The Catholic Sacrament of Anointing of the Sick, formerly known as Last Rites or Extreme Unction, is a ritual of healing appropriate not only for physical but also for mental and spiritual sickness. 

"By the sacred anointing of the sick and the prayer of the priests the whole Church commends those who are ill to the suffering and glorified Lord, that he may raise them up and save them and indeed she exhorts them to contribute to the good of the People of God by freely uniting themselves to the Passion and death of Christ" (Catechism of the Catholic Church 1499).