I just realized that if you die, you only go back to the previous level. I think it was a mistake not to go back to the menu because every time I died in the first 2 levels, I just leveled up and thought it was a bug, hahahaha it was not clear to me, your game its pretty addictive.