My platform game(need help)!

ok im making a platform game and i want it so that when the health reaches 0 (health is a dynamic textbox starting at 100) the main timeline goes to a frame called “LOSE”

here is the code i have the the character u play with.

onClipEvent (enterFrame) {
if (this.hitTest(_root.enemy)) { -= 1;

thx in advance(please help if you know how to do this and u r reading this)!!!