Who becomes president once the president tdies?

If the president dies then the vice president takes office if the vice president dies then the speaker of office is president