We have lots of resources to help you with understanding referencing, and managing your bibliographies and citations. The first place to look is our Referencing subject guide.
Another very useful resource is Cite Them Right Online.
Find out more about avoiding accidental plagiarism with this Academic Integrity guide.
The Institute for Academic Development offers a Study Hub of useful resources too!
Reference management
Guidance on referencing and bibliographies
The Library has created a handy Libguide giving advice on referencing and compiling bibliographies. You can access it here: https://edinburgh-uk.libguides.com/referencing
It includes tips on avoiding plagiarism, and links to further resources such as a workshop on how to choose which reference management system is best for you.