To keep away from plagiarism, appropriately cite every one of the sources you use in your work. If it's not too much trouble, get to know the guidelines of your picked referencing style, and consistently offer credit where's at least some respect.