According to the Declaration of Independence, the people have the right to change their government when the government doesn't protect their natural rights.
The most important idea in the Declaration is that all men are born equal and if some of those natural rights are endangered, the people can rebel to regain their rights which are lawfully theirs. In no other case should they openly change the government.