Different academic disciplines have specific guidelines for organizing material and citing sources. These rules are published as style manuals.
To avoid plagiarism make sure to correctly paraphrase (put into your own words) and include citations for information that was not your original thought.
For determining “common knowledge”, consider if a skilled researcher would need to verify. When in doubt, cite the item to be safe.