Health points is always hight in the begining of the mission.
In combat, the enemy deals damage that reduces the amount of HP. It can be restored with the magic or supplies.
If HP has fallen down to 0, it does not mean that everything is lost. Then comes the time to live by the Stamina.