What might happen if US election result is disputed?

A determination that neither candidate has secured a majority of electoral votes would trigger a 'contingent election' under the 12th Amendment of the Constitution. That means the House of Representatives chooses the next president, while the Senate selects the vice president