In a democracy, you must follow the will of the majority, which may be right or wrong, moral or immoral, just or unjust. If that's the ruling of the majority that is what you should follow, respect, and obey — although you may continue to disagree with it.