It is simple: double-check everything and make certain you cite your sources. If the idea doesn’t belong to you, point its author out. If you rely on someone else’s words, make this clear. Cite everything that isn’t general knowledge.