Keeping variables from a different frame

How do you keep a variable from a different frame?
in a game that i am trying to make, every level is a different frame. And i want to keep the main characters health the same is it was from the last frame. For example in frame 1 the main character loses some health. I want to make it so that the main characters health stays the same in the next frame.