Major elections are held every 4 years where people vote on a nation wide scale. Machines count the votes and after the voting process is done, the electoral college places their votes according to what the people from their state voted for. After that the president is chosen and he/she will remain the president for the next 4 years until the next election.