How can i make player character die?

i have variable for health and when its full its 100 but when its 0 i want to make player die?