Answer:
Depends from government to government but a democracy normally has a constitution to ensure and protects citizen's rights.
For example:
The Constitution of the United States ensures in the first amendment that we have freedom of speech, to press, and to peaceably assemble while the second is the right to bear arms.