If the position of president who will take over?

If the president can not fulfill his duties, the vice president will take over. This has only happened a few times throughout the history of the United States.